Start to add an appimage script
This commit is contained in:
parent
10f18668de
commit
b2747c7610
4 changed files with 80 additions and 25 deletions
50
AppImageBuilder.yml
Normal file
50
AppImageBuilder.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
|
||||
version: 1
|
||||
script:
|
||||
- rm -rf AppDir || true
|
||||
- flutter pub get
|
||||
- rm -rf build || true
|
||||
- flutter build linux
|
||||
- cp -r build/linux/x64/release/bundle AppDir
|
||||
- mkdir -p AppDir/usr/share/icons/hicolor/64x64/apps
|
||||
- cp Icons/PNG/nbteditor.png AppDir/usr/share/icons/hicolor/64x64/apps/
|
||||
AppDir:
|
||||
path: AppDir
|
||||
app_info:
|
||||
id: dev.zontreck.nbteditor
|
||||
name: NBT Editor
|
||||
icon: nbteditor
|
||||
version: latest
|
||||
exec: nbteditor
|
||||
exec_args: $@
|
||||
pacman:
|
||||
include: []
|
||||
exclude: []
|
||||
files:
|
||||
include:
|
||||
- /lib64/ld-linux-x86-64.so.2
|
||||
exclude:
|
||||
- usr/share/man
|
||||
- usr/share/doc/*/README.*
|
||||
- usr/share/doc/*/changelog.*
|
||||
- usr/share/doc/*/NEWS.*
|
||||
- usr/share/doc/*/TODO.*
|
||||
test:
|
||||
fedora-30:
|
||||
image: appimagecrafters/tests-env:fedora-30
|
||||
command: ./AppRun
|
||||
debian-stable:
|
||||
image: appimagecrafters/tests-env:debian-stable
|
||||
command: ./AppRun
|
||||
archlinux-latest:
|
||||
image: appimagecrafters/tests-env:archlinux-latest
|
||||
command: ./AppRun
|
||||
centos-7:
|
||||
image: appimagecrafters/tests-env:centos-7
|
||||
command: ./AppRun
|
||||
ubuntu-xenial:
|
||||
image: appimagecrafters/tests-env:ubuntu-xenial
|
||||
command: ./AppRun
|
||||
AppImage:
|
||||
arch: x86_64
|
||||
update-information: guess
|
Loading…
Add table
Add a link
Reference in a new issue