Skip to content

Commit 7ce4a1a

Browse files
authored
Merge pull request #184 from medyo/improve/pwa
Improve/pwa
2 parents 24ee64c + 952decc commit 7ce4a1a

File tree

6 files changed

+19
-3
lines changed

6 files changed

+19
-3
lines changed
90.3 KB
Loading
65.4 KB
Loading

public/web_manifest.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,22 @@
1919
"sizes": "512x512"
2020
}
2121
],
22+
"screenshots": [
23+
{
24+
"src": "/screenshots/screenshot_mobile_1.webp",
25+
"sizes": "485x1024",
26+
"type": "image/webp",
27+
"form_factor": "narrow",
28+
"label": "Hackertab is available on Desktop and Mobile."
29+
},
30+
{
31+
"src": "/screenshots/screenshot_desktop_1.webp",
32+
"sizes": "1280x720",
33+
"type": "image/webp",
34+
"form_factor": "wide",
35+
"label": "Hackertab is available on Desktop and Mobile."
36+
}
37+
],
2238
"start_url": "/?source=pwa",
2339
"background_color": "#000000",
2440
"display": "standalone",

script/build-chrome.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ yarn build:ext
2222

2323
# Zip the distribution folder
2424
echo 'Zip the extension'
25-
cd dist/ && zip -r ../chrome_extension.zip * -x "*.DS_Store" && cd ..
25+
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 ..

script/build-firefox.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ yarn build:ext
2727

2828
# Zip the distribution folder
2929
echo 'Zip the extension'
30-
cd dist/ && zip -r ../firefox_extension.zip * -x "*.DS_Store" && cd ..
30+
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 ..
3131

3232
#
3333
echo 'Zip the source code'

src/components/Elements/Panel/panel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.dark .panel.information {
25-
background-color: #3b424b;
25+
background-color: #1f242a;
2626
color: white;
2727
}
2828
.light .panel.information {

0 commit comments

Comments
 (0)