Skip to content

Commit

Permalink
patchManifestV2.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetMkt committed May 22, 2024
1 parent 4fdc405 commit 56c2382
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion last_browser_tag.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
browser-v2024.4.2
browser-v2024.4.2aaaaaaaaaaa
14 changes: 14 additions & 0 deletions patchManifestV2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import json

with open("clients/apps/browser/src/manifest.json", "r", encoding="utf-8") as f:
orig = json.load(f)

orig["name"] = "Sunsetwarden"
orig["short_name"] = "Sunsetwarden"
orig["author"] = "Sunset Edu. & Tech. Group and Bitwarden Inc."
orig["homepage_url"] = "https://github.com/lwd-temp/bitwarden-browser-extension-builder"
orig["action"]["default_title"] = "Sunsetwarden"
orig["sidebar_action"]["default_title"] = "Sunsetwarden"

with open("clients/apps/browser/src/manifest.json", "w", encoding="utf-8") as f:
json.dump(orig, f, indent=2)
1 change: 1 addition & 0 deletions patch_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ cp fakePremium.patch "$repo_dir"

# Python script before cd
python patchManifestV3.py
python patchManifestV2.py

cd "$repo_dir"

Expand Down

0 comments on commit 56c2382

Please sign in to comment.