-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.blockloader.BlockLoader.yml
47 lines (47 loc) · 1.76 KB
/
io.blockloader.BlockLoader.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
app-id: io.blockloader.BlockLoader
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '22.08'
command: blockloader
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
- --filesystem=~/.minecraft:rw
- --filesystem=~/.var/app:rw
modules:
- name: blockloader
buildsystem: simple
build-commands:
- mv BlockLoader-linux-x64 /app/blockloader
- chmod +x /app/blockloader/blockloader
- install -Dm755 run.sh /app/bin/blockloader
- install -Dm644 -t /app/share/metainfo io.blockloader.BlockLoader.metainfo.xml
- install -Dm644 logo.png /app/share/icons/hicolor/256x256/apps/io.blockloader.BlockLoader.png
- install -Dm644 -t /app/share/applications io.blockloader.BlockLoader.desktop
sources:
- type: archive
url: https://cdn.blockloader.io/releases/linux/x64/BlockLoader-linux-x64-0.5.8.zip
sha256: 55c4fb868a7aca25e5c293cb98d1fc77461c5f144a3d7187e2436abd7213f77d
strip-components: 0
x-checker-data:
is-main-source: true
type: html
url: https://blockloader.io
version-pattern: <span>v([0-9.]+)</span>
url-template: https://cdn.blockloader.io/releases/linux/x64/BlockLoader-linux-x64-$version.zip
- type: script
dest-filename: run.sh
commands:
- zypak-wrapper.sh /app/blockloader/blockloader "$@"
- type: file
path: io.blockloader.BlockLoader.metainfo.xml
- type: file
url: https://cdn.blockloader.io/logo.png
sha256: cf439d5568c0803b5000cd0a232442f9b5297b94f919cd22991957a13e241979
- type: file
path: io.blockloader.BlockLoader.desktop