Compare commits
5 Commits
6f15bf70c6
...
fd1452d0ce
| Author | SHA1 | Date | |
|---|---|---|---|
| fd1452d0ce | |||
|
|
28d5fb6f83 | ||
|
|
b5984fba76 | ||
|
|
ad17674577 | ||
|
|
5fe2d981e8 |
2
.env_example
Normal file
2
.env_example
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
API_KEY="YOUR_API_KEY"
|
||||||
|
API_SECRET="YOUR_API_SECRET"
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -4,4 +4,6 @@ Archive.zip
|
|||||||
dev-resources
|
dev-resources
|
||||||
content copy.js
|
content copy.js
|
||||||
aula-fixer_v1-2.zip
|
aula-fixer_v1-2.zip
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
web-ext-artifacts
|
||||||
BIN
Aula-Fixer.crx
BIN
Aula-Fixer.crx
Binary file not shown.
3
build_scripts/build.sh
Executable file
3
build_scripts/build.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
web-ext build --source-dir=./src --artifacts-dir=./web-ext-artifacts
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
cd ..
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source .env
|
||||||
|
|
||||||
|
cd src
|
||||||
mv manifest.json manifest_temp.json
|
mv manifest.json manifest_temp.json
|
||||||
mv manifest_ff.json manifest.json
|
mv manifest_ff.json manifest.json
|
||||||
web-ext sign --channel=listed --api-key=user: --api-secret=
|
web-ext sign --channel=listed --api-key=user:$API_KEY --api-secret=$API_SECRET
|
||||||
mv manifest.json manifest_ff.json
|
mv manifest.json manifest_ff.json
|
||||||
mv manifest_temp.json manifest.json
|
mv manifest_temp.json manifest.json
|
||||||
@@ -1,6 +1,10 @@
|
|||||||
cd ..
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source .env
|
||||||
|
|
||||||
|
cd src
|
||||||
mv manifest.json manifest_temp.json
|
mv manifest.json manifest_temp.json
|
||||||
mv manifest_ff.json manifest.json
|
mv manifest_ff.json manifest.json
|
||||||
web-ext sign --channel=unlisted --api-key=user: --api-secret=
|
web-ext sign --channel=unlisted --api-key=user:$API_KEY --api-secret=$API_SECRET
|
||||||
mv manifest.json manifest_ff.json
|
mv manifest.json manifest_ff.json
|
||||||
mv manifest_temp.json manifest.json
|
mv manifest_temp.json manifest.json
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
chrome.runtime.onMessage.addListener((request, sender, sendResponse) => {
|
||||||
if (request.type === "GET_KEYWORDS") {
|
if (request.type === "GET_KEYWORDS") {
|
||||||
|
|
||||||
const remoteUrl = "https://git.wbell.dev/TussockyJoker/Aula-Fixer/raw/branch/main/keywords.txt";
|
const remoteUrl = "https://git.wbell.dev/TussockyJoker/Aula-Fixer/raw/branch/main/src/keywords.txt";
|
||||||
const localUrl = chrome.runtime.getURL("keywords.txt");
|
const localUrl = chrome.runtime.getURL("keywords.txt");
|
||||||
|
|
||||||
// remote
|
// remote
|
||||||
Binary file not shown.
Reference in New Issue
Block a user