Avoid generating icons in runner
|
|
@ -20,15 +20,6 @@ jobs:
|
|||
with:
|
||||
node-version: 24
|
||||
|
||||
- name: Sync capacitor
|
||||
run: npx cap sync
|
||||
|
||||
- name: Generate assets
|
||||
run: npx capacitor-assets generate --android
|
||||
|
||||
- name: Update web app
|
||||
run: npx cap copy
|
||||
|
||||
- name: Setup Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 8.1 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 79 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 619 B |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 317 B |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 382 B |
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 733 B |
|
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 785 B |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 2.7 KiB |
|
|
@ -1,3 +1,2 @@
|
|||
npx capacitor-assets generate --android
|
||||
cd android
|
||||
./gradlew assembleRelease
|
||||
|
|
@ -1,7 +1,3 @@
|
|||
npx cap copy electron
|
||||
npx capacitor-assets generate --pwa
|
||||
magick -background none -density 300 -resize 256x256 ./assets/icon.svg ./icons/icon.png
|
||||
cp ./icons/icon.png ./electron/assets/icon.png
|
||||
mkdir build
|
||||
cd build
|
||||
npx electron-packager ../electron miarven --platform=linux --arch=x64 --icon=../icons/icon.png --overwrite --asar
|
||||
|
|
@ -1,7 +1,3 @@
|
|||
npx cap copy electron
|
||||
npx capacitor-assets generate --pwa
|
||||
magick -background none -density 300 -define icon:auto-resize=256,128,64,48,32,16 ./assets/icon.svg ./icons/icon.ico
|
||||
cp ./icons/icon.ico ./electron/assets/icon.ico
|
||||
mkdir build
|
||||
cd build
|
||||
npx electron-packager ../electron miarven --platform=win32 --arch=x64 --icon=../icons/icon.ico --overwrite --asar
|
||||
|
|
|
|||
|
|
@ -4,4 +4,15 @@ npx cap sync
|
|||
npx capacitor-assets generate
|
||||
#update webroot
|
||||
npx cap copy
|
||||
npx cap copy electron
|
||||
npx cap copy electron
|
||||
|
||||
#platform specifics
|
||||
npx capacitor-assets generate --android
|
||||
|
||||
npx capacitor-assets generate --pwa
|
||||
|
||||
magick -background none -density 300 -define icon:auto-resize=256,128,64,48,32,16 ./assets/icon.svg ./icons/icon.ico
|
||||
cp ./icons/icon.ico ./electron/assets/icon.ico
|
||||
|
||||
magick -background none -density 300 -resize 256x256 ./assets/icon.svg ./icons/icon.png
|
||||
cp ./icons/icon.png ./electron/assets/icon.png
|
||||