2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-04 12:00:29 +00:00

Generate Minimal Appimage (#339)

* Generate Minimal Appimage

* Rename Files

* Rename output file
This commit is contained in:
Shriraj Hegde 2021-05-16 22:09:40 +05:30 committed by GitHub
parent 18ae283e8b
commit b88967884b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -169,6 +169,24 @@ jobs:
path: target/release/czkawka_gui
if: ${{ matrix.type == 'release' }}
- name: Minimal AppImage
run: |
pwd
rm -rf czkawka_gui
cp target/release/czkawka_gui .
strip czkawka_gui
wget https://github.com/AppImage/pkg2appimage/releases/download/continuous/pkg2appimage-1806-x86_64.AppImage
chmod +x pkg2appimage-1806-x86_64.AppImage
./pkg2appimage-1806-x86_64.AppImage misc/czkawka-appimage-recipe.yml
mv out/Czkawka*.AppImage out/czkawka_gui-minimal.AppImage
- name: Minimal Appimage Upload
uses: actions/upload-artifact@v2
with:
name: czkawka_gui-${{ matrix.toolchain }}_minimal
path: out/*.AppImage
linux-appimage-gui:
strategy:
matrix:

View File

@ -0,0 +1,11 @@
app: Czkawka
ingredients:
script:
- mkdir -p czkawka
script:
- pwd
- cp ../../czkawka_gui ./usr/bin/czkawka_gui
- cp ../../pkgs/com.github.qarmin.czkawka.desktop .
- cp ../../data/icons/com.github.qarmin.czkawka.svg .