mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Revert to a simpler webmanifest, rm generated pwa icons
This commit is contained in:
3 files changed
+6
-39
No files matched your search
@@ -13,7 +13,6 @@ dist-ssr
|
||||
*.local
|
||||
.ai-history/
|
||||
.tmp.webmanifest
|
||||
public/icons/
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
|
||||
+2
-2
@@ -12,9 +12,9 @@
|
||||
"android:build": "npm run android:sync && cd android && ./gradlew bundleRelease",
|
||||
"android:apk": "npm run android:sync && cd android && ./gradlew assembleRelease",
|
||||
"android:open": "npx cap open android",
|
||||
"android:sync": "npm run build && npx cap sync android",
|
||||
"android:sync": "npm run build && npx cap sync android && npm run android:assets",
|
||||
"android:run": "npm run android:sync && npx cap run android",
|
||||
"android:icons": "npx -y @capacitor/assets generate --pwaManifestPath=.tmp.webmanifest && rm .tmp.webmanifest && mv icons public/icons"
|
||||
"android:assets": "npx -y @capacitor/assets generate --pwaManifestPath=.tmp.webmanifest && rm .tmp.webmanifest && rm -rf icons"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^7.4.3",
|
||||
|
||||
@@ -15,46 +15,14 @@
|
||||
"lang": "en",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icons/icon-48.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "48x48",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-72.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "72x72",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-96.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "96x96",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-128.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "128x128",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-192.webp",
|
||||
"type": "image/png",
|
||||
"src": "/shakespeare.png",
|
||||
"sizes": "192x192",
|
||||
"purpose": "any maskable"
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-256.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "256x256",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-512.webp",
|
||||
"type": "image/png",
|
||||
"src": "/shakespeare.png",
|
||||
"sizes": "512x512",
|
||||
"purpose": "any maskable"
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user