diff --git a/.gitignore b/.gitignore index 5ccaf46a..f302c8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -13,7 +13,6 @@ dist-ssr *.local .ai-history/ .tmp.webmanifest -public/icons/ # Editor directories and files .idea diff --git a/package.json b/package.json index 198c5c62..7ec80859 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/manifest.webmanifest b/public/manifest.webmanifest index ee6e58b1..ccb429d2 100644 --- a/public/manifest.webmanifest +++ b/public/manifest.webmanifest @@ -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" } ] }