Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Replugged support (and remove Powercord) #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
run: 'pnpm i'
- name: 'Run build script'
run: 'pnpm build'
- name: 'Copy powercord_manifest.json'
run: 'cp powercord_manifest.json dist/powercord_manifest.json'
- name: 'Deploy'
uses: 'peaceiris/actions-gh-pages@v3'
with:
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Bundle and release

on:
push:
tags:
- v*

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout theme
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- name: Install dependencies
run: pnpm install

- name: Build and bundle theme
run: pnpm run bundle

- name: Release bundled theme
uses: ncipollo/release-action@v1
with:
artifacts: bundle/*
makeLatest: true
generateReleaseNotes: true
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/node_modules
/node_modules

# Replugged
/bundle
/dist
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules/**
bundle/**
dist/**
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Changes the status icons to wrap around the avatar. Shape can be changed inside
## Download

BetterDiscord Download: [https://betterdiscord.app/theme/RadialStatus](https://betterdiscord.app/Download?id=32)
Powercord Install: `git clone https://github.com/DiscordStyles/RadialStatus --branch deploy`
Replugged Install: [https://replugged.dev/store/me.gibbu.RadialStatus](https://replugged.dev/install?identifier=me.gibbu.RadialStatus)
Vencord link: `https://raw.githubusercontent.com/DiscordStyles/RadialStatus/deploy/RadialStatus.theme.css`

## Contributing
Expand Down
23 changes: 17 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
{
"id": "me.gibbu.RadialStatus",
"name": "RadialStatus",
"description": "Changes the status icons to wrap around the avatar. Shape can be changed inside the theme file",
"version": "1.0.0",
"author": "Gibbu#1211",
"theme": "dist/RadialStatus.theme.css",
"consent": ["ext_listing"],
"license": "MIT"
"description": "Changes the status icons to wrap around the avatar.",
"author": {
"name": "Gibbu",
"discordID": "174868361040232448",
"github": "Gibbu"
},
"version": "2.0.0",
"updater": {
"type": "store",
"id": "me.gibbu.Template"
},
"license": "MIT",
"type": "replugged-theme",
"main": "src/dev.scss",
"source": "https://github.com/DiscordStyles/RadialStatus",
"image": "https://i.imgur.com/4zZU4iw.jpg"
}
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "radialstatus",
"version": "1.0.0",
"version": "2.0.0",
"description": "Changes the status icons to wrap around the avatar. Shape can be changed inside the theme file.",
"repository": "https://github.com/DiscordStyles/RadialStatus.git",
"author": "Gibbu <Gibbu_@hotmail.com>",
Expand All @@ -9,12 +9,15 @@
"type": "module",
"scripts": {
"dev": "bd-scss dev",
"build": "bd-scss build"
"build": "bd-scss build",
"bundle": "replugged bundle theme",
"release": "replugged release theme"
},
"dependencies": {
"bd-scss": "^2.0.12"
"bd-scss": "^2.0.15",
"replugged": "^4.8.0"
},
"devDependencies": {
"prettier": "^2.8.4"
"prettier": "^3.3.2"
}
}
Loading