Skip to content

Commit

Permalink
Prepare v2 for release (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirdarckcat committed Dec 9, 2020
1 parent e97f373 commit bb5cb8c
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 9 deletions.
2 changes: 2 additions & 0 deletions v2/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
manifest.json
background/out
node_modules
crx.zip
14 changes: 10 additions & 4 deletions v2/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
ENV=--prod
FAKE=dev
FAKE=dev prod

all: background ui
prod: background ui
jq 'del(.key)' manifest_base.json > manifest.json

dev: ENV=
dev: all
dev: prod
cp manifest_base.json manifest.json

crx.zip: prod
rm -f crx.zip
zip -r crx.zip background/out ui/dist icons manifest.json

background: FORCE node_modules/@types/chrome
cd background && tsc --project src/tsconfig.json
Expand All @@ -21,4 +27,4 @@ ui: FORCE ui/node_modules
FORCE:

clean:
rm -rf ui/node_modules node_modules background/out ui/dist
rm -rf ui/node_modules node_modules background/out ui/dist manifest.json crx.zip
Binary file added v2/icons/128.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/icons/16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added v2/icons/48.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 18 additions & 5 deletions v2/manifest.json → v2/manifest_base.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
{
"name": "Tamper Chrome 2",
"description" : "Tamper Chrome 2",
"version": "0.1.0",
"manifest_version": 2,
"permissions": ["debugger", "<all_urls>", "activeTab", "debugger"],
"name": "Tamper Chrome",
"version": "2.0.0",
"description" : "Tamper Chrome is a Chrome extension that allows you to edit HTTP requests as they happen.",
"icons": {"16": "icons/16.png","48": "icons/48.png","128": "icons/128.png"},
"browser_action": {
"default_title": "Tamper Chrome",
"default_icon": {"16": "icons/16.png","48": "icons/48.png","128": "icons/128.png"}
},
"background": {
"page": "background/background.html",
"persistent": true
},
"browser_action": {"default_title": "TC2"},
"commands": {
"_execute_browser_action": {
"suggested_key": {
"default": "Alt+Shift+C"
},
"description": "Open tamper chrome for the current tab"
}
},
"minimum_chrome_version": "87",
"permissions": ["debugger", "<all_urls>", "activeTab", "debugger"],
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAgXuoF2D68sbW53PO/5gK6ar52c/oANFtGFuxE1SdKKLDdF4RbDZefwK48Bc4Zc2pW81qmHC+H+gMHLh+oiH0TP2l0THjQRRf57f5Wuhk42Tdp0qlyS2qQMky5WOVZU8vQdhnRCktMPLyNWx2PeiUXkQDQ3XkcY0cttPhRAlZgx+qNfguHkmsC7HNZ/Y00TY5uUrlGl9MDt2d6fj1uUyV7pimLMA4cnTIjkf+tWhFSXTEbINdpr/YqnU/lq2I9VonBTjoNkt9hAE3y/tDgmkMh3edqqQh96m7Ker+8ZFnaQr6PrPT0vzfQdwWCnl9ItiyJNuFlCkoOzYlrp1+OIzNaQIDAQAB"
}

0 comments on commit bb5cb8c

Please sign in to comment.