Skip to content

Commit

Permalink
Merge pull request #184 from medyo/improve/pwa
Browse files Browse the repository at this point in the history
Improve/pwa
  • Loading branch information
medyo authored Dec 27, 2023
2 parents 24ee64c + 952decc commit 7ce4a1a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 3 deletions.
Binary file added public/screenshots/screenshot_desktop_1.webp
Binary file not shown.
Binary file added public/screenshots/screenshot_mobile_1.webp
Binary file not shown.
16 changes: 16 additions & 0 deletions public/web_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@
"sizes": "512x512"
}
],
"screenshots": [
{
"src": "/screenshots/screenshot_mobile_1.webp",
"sizes": "485x1024",
"type": "image/webp",
"form_factor": "narrow",
"label": "Hackertab is available on Desktop and Mobile."
},
{
"src": "/screenshots/screenshot_desktop_1.webp",
"sizes": "1280x720",
"type": "image/webp",
"form_factor": "wide",
"label": "Hackertab is available on Desktop and Mobile."
}
],
"start_url": "/?source=pwa",
"background_color": "#000000",
"display": "standalone",
Expand Down
2 changes: 1 addition & 1 deletion script/build-chrome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ yarn build:ext

# Zip the distribution folder
echo 'Zip the extension'
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" && cd ..
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..
2 changes: 1 addition & 1 deletion script/build-firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yarn build:ext

# Zip the distribution folder
echo 'Zip the extension'
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" && cd ..
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" "web_manifest.json" "screenshots/*" "images/*" "favicon.ico" "robots.txt" "base.manifest.json" "chrome.manifest.json" "firefox.manifest.json" && cd ..

#
echo 'Zip the source code'
Expand Down
2 changes: 1 addition & 1 deletion src/components/Elements/Panel/panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

.dark .panel.information {
background-color: #3b424b;
background-color: #1f242a;
color: white;
}
.light .panel.information {
Expand Down

0 comments on commit 7ce4a1a

Please sign in to comment.