Skip to content

Commit

Permalink
Merge pull request #17 from Pukimaa/master
Browse files Browse the repository at this point in the history
Add support for new Replugged rewrite
  • Loading branch information
NYRI4 authored Feb 16, 2023
2 parents 23dd065 + e510529 commit b75b5bb
Show file tree
Hide file tree
Showing 10 changed files with 2,558 additions and 17 deletions.
37 changes: 37 additions & 0 deletions .github/workflow/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release

on:
push:
tags:
- "v*"

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

steps:
- name: Check out Git repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 14

- uses: pnpm/action-setup@v2
with:
version: latest

- name: Install Node.js dependencies
run: pnpm install

- name: Build TypeScript and bundle into asar
run: pnpm run bundle

- uses: ncipollo/release-action@v1
with:
artifacts: "bundle/*"
makeLatest: true
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# Prettier
.prettierignore

# Replugged
node_modules
dist
.parcel-cache
2 changes: 1 addition & 1 deletion LICENCE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [year] [fullname]
Copyright (c) 2023 Nyria

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p align="center">
<a href="#"><img align="center" alt="GitHub repo size" src="https://img.shields.io/github/repo-size/NYRI4/Discolored?color=1ABC9C&style=for-the-badge&logo=github">
<a href="https://github.com/NYRI4/Discolored/stargazers"><img align="center" alt="Stars" src="https://img.shields.io/github/stars/NYRI4/Discolored?color=1ABC9C&style=for-the-badge&logo=data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA/FcAAIDoAAB5FgAA8QEAADtfAAAcheDStWoAAAHISURBVHjavJS/a1NRGIafm7RaaGJ1KR0MQUVNBiOhtKLg6GKXItRJVwc3M%2BpW%2Bg/4Fwid3LRLBydBHARBiqSiqcY2UOgipopBQnxdzpXr5dyb5iQnHxw49/z4nvOe7543kIRjPAFywIrL5sARPAF0TT8P/Bw0QcZR7cNIf3VcirNG4ZT5/mOuvONb8YMINMzxyLfiLNAGpmPjPVPrji/F9y3Q8EA1n4oPgNmEuUNgxofitRQowAng8bCKTwFF4CxQBq4BN4%2BY8wXwCvgAfAb2gG828C3gDHDOgIpAIaGWLvELaAG7QBNoAF8DSV8MeJxxkAEWgfoYoU1gPqzxceANcNkztAEsAO3wr/5tBt55hH4C5o0B/fecusBVT/CPpqQ//o1IircJSW81utiWlItzkt5xAGwBl4ZUugNUbB6eZplFU5djjtAeUAXeu3h1CzjtCG4DJ128eq6PN/eLPHDeBVwd4prD3FUXcGkEz%2BiCC/jiCMAlH%2BAN4JmrYpuBhG0/wRCeSqpE1pUkrSes/S5p0pY/CVqwJNmUdD3loFckPbfsKw8CXo5sfC1pKQUYbzckvYzsvzMI%2BJ7x2LsDAOPttqS6pJpt/u8AK65O%2Bt9ReEMAAAAASUVORK5CYII%3D">
<a href="#"><img align ="center" alt="Version" src="https://img.shields.io/static/v1?label=version&message=1.0.0&color=1ABC9C&style=for-the-badge&logo=data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA/FcAAIDoAAB5FgAA8QEAADtfAAAcheDStWoAAAGwSURBVHja7JcxSBxBFIa/Pa%2BQECuFFClNsLWRgGJSpEgn1oJosDIcFpbWKcTC47TKHbEVzpRRsLVOtEkKG2MTxO7QECUH%2BW3mcG7ZvX1j9nLNPVjY2Xn7f/Nm5g1vIkkYbBTYB0aAtB8ioAHMAt%2ByBIvY7AUwZvAbBl5ZwAUj%2BDd2%2B2VxsoIVAFae4NytD%2B6Dew6%2BCNC8tDgVEwYyAQx4%2BSjgZQB4yh2dBe8o/Qt8BZr32S75zyd1zw59Vnyqz7u4rD/az7f2iJG02YVoq3FOEhhJ5RyhtSRGGjivyKtp%2Bp3A/xp5rZN2FhhJlQdAP2bpWsCh016zaFrBVnjVqhe5Yu8ZMAc8ilUQEXAM1F27Aqyk5OkOsOTeZ4DJBK1bYA/4jqSnkm4yIillRO5HumiYmedI%2BmBcuzS4D10watWRdBawcZY9yLobQKs97/ldS/osqeHaB5JOvf6fOKcQKyVslvj0rrnvG5Iu3PsTr/%2Bq6Bb8ccBhvw2Muw0nd3N4F/N5DXxxF4Eh4I3bbC1rRpKOgOn/XICcFIByDyqfrVYevwfeAoOBt4YQi4A/wC6wejcAIWlEHq3bJrMAAAAASUVORK5CYII%3D"></a>
<a href="#"><img align ="center" alt="Version" src="https://img.shields.io/static/v1?label=version&message=1.3.0&color=1ABC9C&style=for-the-badge&logo=data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA/FcAAIDoAAB5FgAA8QEAADtfAAAcheDStWoAAAGwSURBVHja7JcxSBxBFIa/Pa%2BQECuFFClNsLWRgGJSpEgn1oJosDIcFpbWKcTC47TKHbEVzpRRsLVOtEkKG2MTxO7QECUH%2BW3mcG7ZvX1j9nLNPVjY2Xn7f/Nm5g1vIkkYbBTYB0aAtB8ioAHMAt%2ByBIvY7AUwZvAbBl5ZwAUj%2BDd2%2B2VxsoIVAFae4NytD%2B6Dew6%2BCNC8tDgVEwYyAQx4%2BSjgZQB4yh2dBe8o/Qt8BZr32S75zyd1zw59Vnyqz7u4rD/az7f2iJG02YVoq3FOEhhJ5RyhtSRGGjivyKtp%2Bp3A/xp5rZN2FhhJlQdAP2bpWsCh016zaFrBVnjVqhe5Yu8ZMAc8ilUQEXAM1F27Aqyk5OkOsOTeZ4DJBK1bYA/4jqSnkm4yIillRO5HumiYmedI%2BmBcuzS4D10watWRdBawcZY9yLobQKs97/ldS/osqeHaB5JOvf6fOKcQKyVslvj0rrnvG5Iu3PsTr/%2Bq6Bb8ccBhvw2Muw0nd3N4F/N5DXxxF4Eh4I3bbC1rRpKOgOn/XICcFIByDyqfrVYevwfeAoOBt4YQi4A/wC6wejcAIWlEHq3bJrMAAAAASUVORK5CYII%3D"></a>


---
Expand All @@ -20,10 +20,8 @@ Colorize Discord's boring SVGs.
## Installation


[**Powercord**](https://powercord.dev/) or [**Vizality**](https://vizality.com/) :
```
git clone https://github.com/NYRI4/Discolored
```
[**Replugged**](https://replugged.dev/) : <br/>
[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=NYRI4/Discolored&source=github)

[**BetterDiscord**](https://betterdiscord.app/) : <br/>

Expand Down
22 changes: 15 additions & 7 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"icon": "assets/icon.png",
"id": "nyria.discolored",
"name": "Discolored",
"description": "Colorize Discord's boring SVGs",
"version": "1.2.0",
"author": "snapper#0001, Nyria#4198",
"theme": "support/discolored.theme.css",
"consent": "false",
"license": "CC BY-NC-ND 4.0"
}
"author": {
"name": "Nyria",
"discordID": "265924886461939712",
"github": "NYRI4"
},
"version": "1.3.0",
"updater": {
"type": "github",
"id": "NYRI4/Discolored"
},
"license": "MIT",
"type": "replugged-theme",
"main": "main.css"
}
25 changes: 25 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "discolored",
"version": "1.3.0",
"description": "Colorize Discord's boring SVGs.",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"build": "replugged build theme",
"watch": "replugged build theme --watch",
"bundle": "replugged bundle theme",
"lint": "prettier ./src --check",
"lint:fix": "prettier ./src --write"
},
"author": "Nyria",
"license": "MIT",
"devDependencies": {
"@parcel/config-default": "^2.8.3",
"@parcel/core": "^2.8.3",
"@types/node": "^18.13.0",
"prettier": "^2.8.4",
"replugged": "4.0.0-beta0.27"
}
}

Loading

0 comments on commit b75b5bb

Please sign in to comment.