added appimage build
This commit is contained in:
26
configs/AppImageBuilder_amd64.yml
Normal file
26
configs/AppImageBuilder_amd64.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||||
|
version: 1
|
||||||
|
script:
|
||||||
|
- rm -rf AppDir | true
|
||||||
|
- cp -r build/linux/x64/release/bundle AppDir
|
||||||
|
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
- cp configs/prodIcon.png AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
AppDir:
|
||||||
|
path: ./AppDir
|
||||||
|
app_info:
|
||||||
|
id: net.inaph.prod
|
||||||
|
name: Prod
|
||||||
|
icon: prodIcon
|
||||||
|
version: latest
|
||||||
|
exec: prod
|
||||||
|
exec_args: $@
|
||||||
|
files:
|
||||||
|
exclude:
|
||||||
|
- usr/share/man
|
||||||
|
- usr/share/doc/*/README.*
|
||||||
|
- usr/share/doc/*/changelog.*
|
||||||
|
- usr/share/doc/*/NEWS.*
|
||||||
|
- usr/share/doc/*/TODO.*
|
||||||
|
AppImage:
|
||||||
|
arch: x86_64
|
||||||
|
update-information: guess
|
||||||
26
configs/AppImageBuilder_arm64.yml
Normal file
26
configs/AppImageBuilder_arm64.yml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||||
|
version: 1
|
||||||
|
script:
|
||||||
|
- rm -rf AppDir | true
|
||||||
|
- cp -r build/linux/arm64/release/bundle AppDir
|
||||||
|
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
- cp configs/prodIcon.png AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||||
|
AppDir:
|
||||||
|
path: ./AppDir
|
||||||
|
app_info:
|
||||||
|
id: net.inaph.prod
|
||||||
|
name: Prod
|
||||||
|
icon: prodIcon
|
||||||
|
version: latest
|
||||||
|
exec: prod
|
||||||
|
exec_args: $@
|
||||||
|
files:
|
||||||
|
exclude:
|
||||||
|
- usr/share/man
|
||||||
|
- usr/share/doc/*/README.*
|
||||||
|
- usr/share/doc/*/changelog.*
|
||||||
|
- usr/share/doc/*/NEWS.*
|
||||||
|
- usr/share/doc/*/TODO.*
|
||||||
|
AppImage:
|
||||||
|
arch: arm64
|
||||||
|
update-information: guess
|
||||||
BIN
configs/prodIcon.png
Normal file
BIN
configs/prodIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -1,6 +0,0 @@
|
|||||||
FROM ghcr.io/cirruslabs/flutter:3.38.9
|
|
||||||
COPY ./ /build
|
|
||||||
WORKDIR /build
|
|
||||||
RUN apt update -y && apt install clang cmake ninja-build pkg-config libgtk-3-dev libstdc++-12-dev -y
|
|
||||||
RUN flutter build linux --release
|
|
||||||
RUN cp build/linux/*/release/bundle/prod /prod
|
|
||||||
Reference in New Issue
Block a user