diff --git a/dist/templateManager.user.js b/dist/templateManager.user.js index df79553..bae7eb4 100644 --- a/dist/templateManager.user.js +++ b/dist/templateManager.user.js @@ -1,13 +1,8 @@ // ==UserScript== -// @name template-manager -// @version 0.5.7 -// @description Manages your templates on various canvas games -// @author LittleEndu, Mikarific, April -// @license MIT -// @grant GM.xmlHttpRequest -// @grant GM.setValue -// @grant GM.getValue +// @namespace littleendu.xyz +// @downloadURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js +// @updateURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js // @match https://pxls.space/ // @match https://new.reddit.com/r/place/* // @match https://www.reddit.com/r/place/* @@ -16,9 +11,15 @@ // @match https://www.twitch.tv/otknetwork/* // @match https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/* // @match https://place.ludwig.gg/* -// @namespace littleendu.xyz -// @updateURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js -// @downloadURL https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js +// @grant GM.xmlHttpRequest +// @grant GM.setValue +// @grant GM.getValue +// @connect * +// @name template-manager +// @version 0.5.7 +// @description Manages your templates on various canvas games +// @author LittleEndu, Mikarific, April +// @license MIT // // Created with love using Gorilla // ==/UserScript== diff --git a/gorilla.json b/gorilla.json new file mode 100644 index 0000000..7527130 --- /dev/null +++ b/gorilla.json @@ -0,0 +1,21 @@ +{ + "namespace": "littleendu.xyz", + "downloadURL": "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js", + "updateURL": "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js", + "match": [ + "https://pxls.space/", + "https://new.reddit.com/r/place/*", + "https://www.reddit.com/r/place/*", + "https://garlic-bread.reddit.com/embed*", + "https://hot-potato.reddit.com/embed*", + "https://www.twitch.tv/otknetwork/*", + "https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/*", + "https://place.ludwig.gg/*" + ], + "grant": [ + "GM.xmlHttpRequest", + "GM.setValue", + "GM.getValue" + ], + "connect": "*" +} \ No newline at end of file diff --git a/package.json b/package.json index ebea126..d7d0184 100644 --- a/package.json +++ b/package.json @@ -5,33 +5,13 @@ "main": "main.ts", "scripts": { "test": "echo \\\"Test command\\\" && exit 0", - "build": "gorilla --input ./main.ts --output ./dist/templateManager.user.js" + "build": "gorilla --input ./main.ts --output ./dist/templateManager.user.js --config gorilla.json" }, "author": "LittleEndu, Mikarific, April", "license": "MIT", "dependencies": { "@types/greasemonkey": "^4.0.4" }, - "gorilla": { - "namespace": "littleendu.xyz", - "downloadURL" : "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js", - "updateURL" : "https://github.com/osuplace/templateManager/raw/main/dist/templateManager.user.js", - "match": [ - "https://pxls.space/", - "https://new.reddit.com/r/place/*", - "https://www.reddit.com/r/place/*", - "https://garlic-bread.reddit.com/embed*", - "https://hot-potato.reddit.com/embed*", - "https://www.twitch.tv/otknetwork/*", - "https://9jjigdr1wlul7fbginbq7h76jg9h3s.ext-twitch.tv/*", - "https://place.ludwig.gg/*" - ], - "grant": [ - "GM.xmlHttpRequest", - "GM.setValue", - "GM.getValue" - ] - }, "devDependencies": { "gorilla-build": "^0.1.16" }