mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Added build option to build it against local Philomena
Only intended to be used for locally hosted Philomena
This commit is contained in:
1 parent
223b72d9fb
commit
bcdc89efbb
2 files changed
+7
No files matched your search
@@ -69,6 +69,12 @@ export async function packExtension(settings) {
|
||||
})
|
||||
|
||||
switch (process.env.SITE) {
|
||||
case 'localhost':
|
||||
manifest.replaceHostTo('localhost');
|
||||
manifest.replaceBooruNameWith('Philomena');
|
||||
manifest.setGeckoIdentifier('philomena-tagging-assistant@thecore.city');
|
||||
break;
|
||||
|
||||
case 'derpibooru':
|
||||
manifest.replaceHostTo([
|
||||
'derpibooru.org',
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"build": "npm run build:popup && npm run build:extension",
|
||||
"build:derpibooru": "cross-env SITE=derpibooru npm run build",
|
||||
"build:tantabus": "cross-env SITE=tantabus npm run build",
|
||||
"build:local": "cross-env SITE=localhost npm run build",
|
||||
"build:popup": "vite build",
|
||||
"build:extension": "node build-extension.js",
|
||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
||||
|
||||
Reference in new issue
Block a user