mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Add icons, generate automatically
This commit is contained in:
9 files changed
+45
-8
No files matched your search
@@ -12,6 +12,8 @@ dist
|
||||
dist-ssr
|
||||
*.local
|
||||
.ai-history/
|
||||
.tmp.webmanifest
|
||||
public/icons/
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
|
||||
+1
-1
@@ -101,4 +101,4 @@ app/src/main/assets/capacitor.plugins.json
|
||||
app/src/main/res/xml/config.xml
|
||||
|
||||
# Generated assets
|
||||
android/app/src/main/res/*/*.png
|
||||
app/src/main/res/*/*.png
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 442 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 222 B |
Binary file not shown.
|
After Width: | Height: | Size: 442 KiB |
+2
-1
@@ -13,7 +13,8 @@
|
||||
"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:run": "npm run android:sync && npx cap run android"
|
||||
"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"
|
||||
},
|
||||
"dependencies": {
|
||||
"@capacitor/android": "^7.4.3",
|
||||
|
||||
@@ -7,20 +7,54 @@
|
||||
"background_color": "#ffffff",
|
||||
"theme_color": "#8b5cf6",
|
||||
"orientation": "portrait-primary",
|
||||
"categories": ["productivity", "developer", "utilities"],
|
||||
"categories": [
|
||||
"productivity",
|
||||
"developer",
|
||||
"utilities"
|
||||
],
|
||||
"lang": "en",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/shakespeare.png",
|
||||
"sizes": "192x192",
|
||||
"src": "/icons/icon-48.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "48x48",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/shakespeare.png",
|
||||
"sizes": "512x512",
|
||||
"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",
|
||||
"sizes": "192x192",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-256.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "256x256",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon-512.webp",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512",
|
||||
"purpose": "any maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user