Skip to content

Commit 9507bd8

Browse files
committed
new metadata for building appimages
1 parent 07f0d67 commit 9507bd8

2 files changed

Lines changed: 65 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
build/
66
app/build/
77
app/bin/
8+
appimage-build/
9+
AppDir/
10+
*.log
11+
*.AppImage
12+
*.zsync

AppImageBuilder.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# appimage-builder recipe see https://appimage-builder.readthedocs.io for details
2+
version: 1
3+
script:
4+
- rm -rf AppDir | true
5+
6+
- mkdir -p AppDir/usr/bin
7+
- mkdir -p AppDir/usr/bin
8+
- mkdir -p AppDir/usr/app/bin
9+
- mkdir -p AppDir/usr/app/lib
10+
- ./gradlew distTar && tar -xvf app/build/distributions/app.tar -C AppDir/usr/ --strip-components=1
11+
- chmod +x AppDir/usr/bin/app
12+
AppDir:
13+
path: ./AppDir
14+
app_info:
15+
id: org.frc238.JavaAutoBuilder
16+
name: AutoBuilder
17+
icon: application-vnd.appimage
18+
version: 0.2.0
19+
exec: bin/bash
20+
exec_args: "$APPDIR/usr/bin/app $@"
21+
apt:
22+
arch:
23+
- amd64
24+
allow_unauthenticated: true
25+
sources:
26+
- sourceline: deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe
27+
multiverse
28+
include:
29+
- libadwaita-1-0
30+
- openjdk-17-jre
31+
- bash
32+
- gsettings-desktop-schemas
33+
- perl
34+
- dash
35+
exclude:
36+
- adwaita-icon-theme
37+
files:
38+
include: []
39+
exclude:
40+
- usr/share/man
41+
- usr/share/doc
42+
test:
43+
fedora-30:
44+
image: appimagecrafters/tests-env:fedora-30
45+
command: ./AppRun
46+
debian-stable:
47+
image: appimagecrafters/tests-env:debian-stable
48+
command: ./AppRun
49+
archlinux-latest:
50+
image: appimagecrafters/tests-env:archlinux-latest
51+
command: ./AppRun
52+
centos-7:
53+
image: appimagecrafters/tests-env:centos-7
54+
command: ./AppRun
55+
ubuntu-xenial:
56+
image: appimagecrafters/tests-env:ubuntu-xenial
57+
command: ./AppRun
58+
AppImage:
59+
arch: x86_64
60+
update-information: guess

0 commit comments

Comments
 (0)