This commit is contained in:
parent
7f52254c6b
commit
fc61e8bd65
4 changed files with 2 additions and 3 deletions
1
build.sh
1
build.sh
|
@ -3,4 +3,5 @@ set -e
|
||||||
rm -rf out proxy-settings.crx
|
rm -rf out proxy-settings.crx
|
||||||
npx tsc
|
npx tsc
|
||||||
cp manifest.json ./*.html out
|
cp manifest.json ./*.html out
|
||||||
|
sed "s/{{DATE}}/$(date -u "+%Y.%m.%d")/" -i out/manifest.json
|
||||||
npx crx3 -p key.pem -o proxy-settings.crx out
|
npx crx3 -p key.pem -o proxy-settings.crx out
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 3,
|
"manifest_version": 3,
|
||||||
"name": "Proxy Settings",
|
"name": "Proxy Settings",
|
||||||
"version": "0.0.1",
|
"version": "{{DATE}}",
|
||||||
"action": {
|
"action": {
|
||||||
"default_popup": "options.html"
|
"default_popup": "options.html"
|
||||||
},
|
},
|
||||||
|
|
1
package-lock.json
generated
1
package-lock.json
generated
|
@ -6,7 +6,6 @@
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "chromium-proxy-settings",
|
"name": "chromium-proxy-settings",
|
||||||
"version": "0.0.1",
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "^0.0.260",
|
"@types/chrome": "^0.0.260",
|
||||||
"crx3": "^1.1.3",
|
"crx3": "^1.1.3",
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "chromium-proxy-settings",
|
"name": "chromium-proxy-settings",
|
||||||
"version": "0.0.1",
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "^0.0.260",
|
"@types/chrome": "^0.0.260",
|
||||||
|
|
Loading…
Add table
Reference in a new issue