From bb5cb8cc54ec11da54b6bfc2e7f2546f8fa6d5c7 Mon Sep 17 00:00:00 2001 From: "Eduardo' Vela\" Nava (sirdarckcat)" Date: Wed, 9 Dec 2020 15:37:42 +0100 Subject: [PATCH] Prepare v2 for release (#55) --- v2/.gitignore | 2 ++ v2/Makefile | 14 ++++++++++---- v2/icons/128.png | Bin 0 -> 3400 bytes v2/icons/16.png | Bin 0 -> 541 bytes v2/icons/48.png | Bin 0 -> 1908 bytes v2/{manifest.json => manifest_base.json} | 23 ++++++++++++++++++----- 6 files changed, 30 insertions(+), 9 deletions(-) create mode 100644 v2/icons/128.png create mode 100644 v2/icons/16.png create mode 100644 v2/icons/48.png rename v2/{manifest.json => manifest_base.json} (52%) diff --git a/v2/.gitignore b/v2/.gitignore index 09cb68f..8983a41 100644 --- a/v2/.gitignore +++ b/v2/.gitignore @@ -1,2 +1,4 @@ +manifest.json background/out node_modules +crx.zip diff --git a/v2/Makefile b/v2/Makefile index 2b3a257..c5a680a 100644 --- a/v2/Makefile +++ b/v2/Makefile @@ -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 @@ -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 diff --git a/v2/icons/128.png b/v2/icons/128.png new file mode 100644 index 0000000000000000000000000000000000000000..b4c6c95b87e9bb11be2ec8897d277c46c45a7e8f GIT binary patch literal 3400 zcma)PS%)EvnK8-OvPLLmOR^gi*_Y&z zhnZ0bDLchfgR!r_>-qir`{Q@dJ@>rs_m6Y#x#x4H6SM26+YkB0 z0D!m9455E3KRb;9x-um(bZL_93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/v2/icons/16.png new file mode 100644 index 0000000000000000000000000000000000000000..5f92b773eb514ba3cd9270b92892021949aa542e GIT binary patch literal 541 zcmV+&0^Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i^w= z5-2ZvTF31G000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}0004aNklM(IOVoE-66}b;zKDZXHUu&fP=@C!u3jH>VClR}}<5LDzl->EPt- zB5?@fluD9HN_f+un*PTY``hm2eh+u|-bvS&7ZKm+>imrRhcUZ!z@FM0AZ=Tywc6;J z%&$xf+ve`}=B3lL43dPVX~?o1Cki20E|*A>L^hixkw{=!7GW4d z6mhzKM0v$X05qFTR8@@uuItk2bZ9gh6pKZK5G)o8hQlF25CCid8+E%~R8_?^P5S*l zj^kh$28LnK>-BIP2h%jER4RJh2q9vRvTI=J zbei>g9mlKH>Ti4Cx-Pn|$8o7tBA3g30z}b|fa!FKrfHPRWeSA?)oPXZ9t9vNLZ0Qs zw}AP4&S*5EUatc%nM|-Oi=+rYZlZH|#Pfj?f9YqXQYmCv#&cbgBIG3SJ`QpF@Z&W; fIj=+g?_+uae!`8S{ni;300000NkvXXu0mjf1z+HR literal 0 HcmV?d00001 diff --git a/v2/icons/48.png b/v2/icons/48.png new file mode 100644 index 0000000000000000000000000000000000000000..fcc76dbe0622d719fc1a0a81398f5802f25ce3e2 GIT binary patch literal 1908 zcmV-)2aEWLP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i^w= z5+^tAu0wPH000?uMObu0Z*6U5Zgc=ca%Ew3Wn>_CX>@2HM@dakSAh-}000KhNkloc!uZK01P}rU0sQ2mm>)(3 ztq${!otScR(P%XPQxpC4=@ZZGPwDvQ9eiW&7Xu__Z=|B`*iW(Q*Z%%jUUfYKAYyLi zE9#D6v)P!Kmc>@qtR%BbaRrDl7i7_l-m^w1!}dL?Cfl`S}hfI$N1YH z|A24o{Vafa$4&s;ZZ~eX8<)#PAP^umHI>N7NB|^B;?}KOjE#-a)6*jZc)eb1HX8uR z$;qr)vxes8X8Qa4$;ikcH#b+diI0ybHZ~TU&4$fpfIoHHF*lX8xQbfNwgmcDtR($Vm3>+sB0q7qHvy zBqb%udb8P#-EKz|MY6NA>FDTKbUNwj=|QK{$#zz&mEqxGj7H;C=J%N8zPyvUU+S2%g{Bx<$#*Cn!N&z|wiFTZf;&>;>SIKaV! z2MG@k$8NU=*(D_!)G|6EvKb`vhEWleK_NN5U`#$`iUFPcR>#47=m!IdiFO-G)e`m8$zi^y|edpR1 z&Sfdv&~-Wl5CRARgaASSA%GCTkJg1kx6%KiL@cZ({SYw{D$W7@ON-E|&|vUXNC*mHT#d zbdZyigHoxatE&sM*}TaA{PEA9KmP?lAr}8i&Jy z-|wfmxR}(`RE$O=RaI3)M@P#JL{Y@!@!;`zmIUnW?d8&?OL)CrDl01y1c9EO9{hek zMMXvE^?EWhGf7WRr@y~nhMSWcH*RqK`gLBtdbOl~K@dntNSG~s2ByCN2mukd+f8F* zBaxAj9654?YuBz36BEP!{redoAE&Xg5w%*)>C>mFs;XjO zV1TPvuP*94G&HoRCNy6*Zrn(1Z7sF6wFm+6OCkdh!y_42YGhJLl9-&F{7qxFTCGMD zMFN4q5Bd3>_zC4_fAAqze)glAoWK{MWYRl>r1O%k_fDphB%fA3`rNCvtSxUVC0000", "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", "", "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" }