-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from Kodylow/chrome-extension
feat: chrome extension support
- Loading branch information
Showing
6 changed files
with
123 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[files] | ||
extend-exclude = ["bun.lockb"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta name="version" content="{{buildVersion}}"> | ||
<link data-trunk rel="tailwind-css" href="./index.css"/> | ||
<link data-trunk rel="rust" data-wasm-opt="z"/> | ||
<link data-trunk rel="copy-dir" href="./assets/"/> | ||
<link data-trunk rel="copy-file" href="./service-worker.js"/> | ||
<link data-trunk rel="copy-file" href="./manifest.json"/> | ||
<link data-trunk rel="copy-file" href="./favicon.ico"/> | ||
</head> | ||
<body></body> | ||
<head> | ||
<meta name="version" content="{{buildVersion}}" /> | ||
<link data-trunk rel="tailwind-css" href="./index.css" /> | ||
<link data-trunk rel="rust" data-wasm-opt="z" /> | ||
<link data-trunk rel="copy-dir" href="./assets/" /> | ||
<link data-trunk rel="copy-file" href="./service-worker.js" /> | ||
<link data-trunk rel="copy-file" href="./manifest.json" /> | ||
<link data-trunk rel="copy-file" href="./favicon.ico" /> | ||
</head> | ||
<body></body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,42 @@ | ||
{ | ||
"name": "Webimint Fedimint Client", | ||
"short_name": "Webimint", | ||
"start_url": "/", | ||
"display": "standalone", | ||
"background_color": "#ffffff", | ||
"theme_color": "#ffffff", | ||
"icons": [ | ||
{ | ||
"src": "\/assets\/icons\/android-icon-36x36.png", | ||
"sizes": "36x36", | ||
"type": "image\/png", | ||
"density": "0.75" | ||
"manifest_version": 3, | ||
"__chrome__manifest_version": 3, | ||
"name": "Webimint Fedimint Client", | ||
"short_name": "Webimint", | ||
"version": "0.1.0", | ||
"description": "Webimint is an experimental Fedimint wallet using the Leptos web framework.", | ||
"action": { | ||
"default_popup": "index.html", | ||
"default_icon": { | ||
"48": "/assets/icons/android-icon-48x48.png", | ||
"96": "/assets/icons/android-icon-96x96.png", | ||
"192": "/assets/icons/android-icon-192x192.png" | ||
} | ||
}, | ||
{ | ||
"src": "\/assets\/icons\/android-icon-48x48.png", | ||
"sizes": "48x48", | ||
"type": "image\/png", | ||
"density": "1.0" | ||
"background": { | ||
"service_worker": "service-worker.js" | ||
}, | ||
{ | ||
"src": "\/assets\/icons\/android-icon-72x72.png", | ||
"sizes": "72x72", | ||
"type": "image\/png", | ||
"density": "1.5" | ||
"permissions": ["storage", "activeTab"], | ||
"content_scripts": [ | ||
{ | ||
"matches": ["<all_urls>"], | ||
"js": ["webimint-{{buildVersion}}.js"] | ||
} | ||
], | ||
"__chrome__host_permissions": ["*://*/*"], | ||
"content_security_policy": { | ||
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self';" | ||
}, | ||
{ | ||
"src": "\/assets\/icons\/android-icon-96x96.png", | ||
"sizes": "96x96", | ||
"type": "image\/png", | ||
"density": "2.0" | ||
}, | ||
{ | ||
"src": "\/assets\/icons\/android-icon-144x144.png", | ||
"sizes": "144x144", | ||
"type": "image\/png", | ||
"density": "3.0" | ||
}, | ||
{ | ||
"src": "\/assets\/icons\/android-icon-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image\/png", | ||
"density": "4.0" | ||
"start_url": "/", | ||
"display": "standalone", | ||
"background_color": "#ffffff", | ||
"theme_color": "#ffffff", | ||
"icons": { | ||
"36": "/assets/icons/android-icon-36x36.png", | ||
"48": "/assets/icons/android-icon-48x48.png", | ||
"72": "/assets/icons/android-icon-72x72.png", | ||
"96": "/assets/icons/android-icon-96x96.png", | ||
"144": "/assets/icons/android-icon-144x144.png", | ||
"192": "/assets/icons/android-icon-192x192.png" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters