push self-hosted version

This commit is contained in:
idk
2022-10-24 13:28:40 -04:00
parent 0ae6ca1840
commit 7a5c7e0377
3 changed files with 9 additions and 35 deletions

View File

@@ -166,7 +166,7 @@ moz-sign: version clean-artifacts
@echo "Using the 'sign' target to instantly sign an extension for self-distribution"
@echo "requires a JWT API Key and Secret from addons.mozilla.org to be made available"
@echo "to the Makefile under the variables WEB_EXT_API_KEY and WEB_EXT_API_SECRET."
$(HOME)/web-ext/bin/web-ext sign --channel unlisted --config-discovery false --api-key $(WEB_EXT_API_KEY) --api-secret $(WEB_EXT_API_SECRET) --timeout 900000 #--api-url-prefix http://localhost:3000/api/v4
$(HOME)/.node_modules/bin/web-ext sign --channel unlisted --config-discovery false --api-key $(WEB_EXT_API_KEY) --api-secret $(WEB_EXT_API_SECRET) --timeout 900000 #--api-url-prefix http://localhost:3000/api/v4
make copyss
sleep 5
@@ -180,7 +180,7 @@ moz-submit: moz-version
@echo "to the Makefile under the variables WEB_EXT_API_KEY and WEB_EXT_API_SECRET."
mv manifest.json .manifest.json
grep -v update_url .manifest.json > manifest.json
$(HOME)/web-ext/bin/web-ext sign --channel listed --config-discovery false --api-key $(WEB_EXT_API_KEY) --api-secret $(WEB_EXT_API_SECRET) --timeout 900000 --verbose; true #--api-url-prefix http://localhost:3000/api/v4
$(HOME)/.node_modules/bin/web-ext sign --channel listed --config-discovery false --api-key $(WEB_EXT_API_KEY) --api-secret $(WEB_EXT_API_SECRET) --timeout 900000 --verbose; true #--api-url-prefix http://localhost:3000/api/v4
sleep 5
mv .manifest.json manifest.json
@@ -331,7 +331,7 @@ upload-updatemanifest:
gothub upload -R -u eyedeekay -r I2P-in-Private-Browsing-Mode-Firefox -t docs -n "updateManifest.json" -f updateManifest.json
webext:
$(HOME)/web-ext/bin/web-ext run --firefox /usr/bin/firefox -u "about:devtools-toolbox?type=extension&id=i2ppb%40eyedeekay.github.io"
$(HOME)/.node_modules/bin/web-ext run --firefox /usr/bin/firefox -u "about:devtools-toolbox?type=extension&id=i2ppb%40eyedeekay.github.io"
snark-mirror:
http_proxy=http://127.0.0.1:4444 wget -c -O ../i2psnark-rpc.su3 http://stats.i2p/i2p/plugins/i2psnark-rpc.su3
@@ -344,8 +344,9 @@ seed:
cp -v "../i2ppb-$(VERSION)@eyedeekay.github.io.xpi" "$(HOME)/.i2p/i2psnark"
android:
$(HOME)/web-ext/bin/web-ext run --target firefox-android \
--android-device NE1GAM7780819544 \
--browser-console
$(HOME)/.node_modules/bin/web-ext run \
--target firefox-android \
--android-device HT78N1A00453 \
--firefox-apk org.mozilla.fenix
run: webext

View File

@@ -1,11 +0,0 @@
#! /usr/bin/env sh
rm -fv browse.png i2plogo.png torrents.png
wget -c -O browse.png https://user-images.githubusercontent.com/50714166/193657979-44a7d972-ef4a-4f29-90aa-ac5c8f06a117.png
wget -c -O i2plogo.png https://user-images.githubusercontent.com/50714166/193657981-14dd87a6-5c1b-4dc5-99ca-10afdfdd5dff.png
wget -c -O torrents.png https://user-images.githubusercontent.com/50714166/193657982-0f0a604f-a360-482f-b918-75468f27fabe.png
rm -fv infotoopie.png infotoopiebt.png infotoopies.png infotoopiesbt.png
wget -c -O infotoopie.png https://user-images.githubusercontent.com/50714166/193660202-3069b61b-26fe-4120-8411-2985661656c2.png
wget -c -O infotoopiebt.png https://user-images.githubusercontent.com/50714166/193660200-ea8d1318-03ea-4df4-aa8f-83d24dc74071.png
wget -c -O infotoopies.png https://user-images.githubusercontent.com/50714166/193660199-d4c9d66b-d877-44cc-848e-aa31d152fa57.png
wget -c -O infotoopiesbt.png https://user-images.githubusercontent.com/50714166/193660200-ea8d1318-03ea-4df4-aa8f-83d24dc74071.png

View File

@@ -9,8 +9,6 @@
"theme",
"alarms",
"browsingData",
"bookmarks",
"contextMenus",
"management",
"notifications",
"proxy",
@@ -21,13 +19,12 @@
"webRequestBlocking",
"contextualIdentities",
"cookies",
"history",
"tabs",
"<all_urls>"
],
"manifest_version": 2,
"name": "__MSG_extensionName__",
"version": "1.37",
"version": "1.39",
"description": "__MSG_extensionDescription__",
"homepage_url": "https://github.com/eyedeekay/I2P-in-Private-Browsing-Mode-Firefox",
"icons": {
@@ -39,13 +36,6 @@
"default_title": "__MSG_extensionName__",
"default_popup": "window.html"
},
"sidebar_action": {
"browser_style": true,
"default_icon": "icons/i2plogo.png",
"default_title": "__MSG_toopieName__",
"default_panel": "toopie.html",
"open_at_install": false
},
"page_action": {
"browser_style": true,
"default_title": "__MSG_toopieTLS__",
@@ -95,11 +85,5 @@
"uriTemplate": "http://127.0.0.1:7657/i2psnark/?nofilter_newURL=%s&action=Add&foo=Add+torrent"
}
],
"default_locale": "en",
"chrome_settings_overrides": {
"homepage": "home.html"
},
"chrome_url_overrides": {
"newtab": "home.html"
}
"default_locale": "en"
}