initial commit
This commit is contained in:
commit
f76f96b2dc
4 changed files with 58 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/.flatpak-builder
|
5
me.theentropyshard.teslauncher.desktop
Normal file
5
me.theentropyshard.teslauncher.desktop
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=TESLauncher
|
||||
Exec=/app/tesl.sh
|
||||
Type=Application
|
||||
Categories=Game;
|
49
me.theentropyshard.teslauncher.yml
Normal file
49
me.theentropyshard.teslauncher.yml
Normal file
|
@ -0,0 +1,49 @@
|
|||
id: me.theentropyshard.teslauncher
|
||||
runtime: org.freedesktop.Platform
|
||||
runtime-version: '24.08'
|
||||
sdk: org.freedesktop.Sdk
|
||||
command: /app/tesl.sh
|
||||
finish-args:
|
||||
- --share=ipc
|
||||
- --socket=x11
|
||||
- --device=dri
|
||||
- --socket=pulseaudio
|
||||
- --share=network
|
||||
modules:
|
||||
- name: openj9
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://pkg.dc09.ru/openj9/jre.tar.zst
|
||||
sha256: b9e288ea41dedc3ba3090299a2c90185dbe155c33219ced67ed1a99dc4751125
|
||||
build-commands:
|
||||
- './bin/java --version'
|
||||
- 'install -D -t /app/lib/jvm/openj9 ./*'
|
||||
- 'ln -s /app/lib/jvm/openj9/bin/java /usr/bin/java'
|
||||
- name: tesl-build
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://pkg.dc09.ru/openj9/jdk.tar.zst
|
||||
sha256: 4b80961f6b89bac2ced31da10c09b985fa88aed0ff4902bf293693c168cc30f1
|
||||
dest: jdk
|
||||
- type: git
|
||||
url: https://git.dc09.ru/TESLauncher/TESLauncher.git
|
||||
branch: master
|
||||
dest: src
|
||||
build-commands:
|
||||
- 'export PATH="$PWD/jdk/bin:$PATH"'
|
||||
- 'java --version'
|
||||
- 'cd src'
|
||||
- './gradlew shadowJar'
|
||||
- 'find ./build/libs/ -name "TESL*.jar" -type f -exec install -D {} /app/tesl.jar \;'
|
||||
- name: tesl-run
|
||||
buildsystem: simple
|
||||
sources:
|
||||
- type: file
|
||||
path: tesl.sh
|
||||
- type: file
|
||||
path: me.theentropyshard.teslauncher.desktop
|
||||
build-commands:
|
||||
- 'install -D -m 755 tesl.sh /app/tesl.sh'
|
||||
- 'install -D -m 644 me.theentropyshard.teslauncher.desktop /app/share/applications/'
|
3
tesl.sh
Normal file
3
tesl.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/sh -eu
|
||||
cd "$XDG_DATA_HOME"
|
||||
/app/lib/jvm/openj9/bin/java -jar /app/tesl.jar
|
Loading…
Add table
Add a link
Reference in a new issue