Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions manifests/manifest-pwa.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"scope": "/",
"icons": [{
"src": "/images/icon.svg",
"type": "image/svg+xml",
"sizes": "any",
"purpose": "any maskable"
}]
}
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ postCompile () {
if [[ $1 = "chrome" ]] || [[ $1 = "edge" ]]; then
cp manifests/schema-chrome.json $1/schema.json
fi

cp manifests/manifest-pwa.json $1/manifest-pwa.json
}

if [[ $PLATFORM = "prod" ]]; then
Expand Down
1 change: 1 addition & 0 deletions view/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

<head>
<meta charset="utf-8" />
<link rel="manifest" href="/manifest-pwa.json">
<link href="../css/popup.css"
type="text/css"
rel="stylesheet"
Expand Down