-
Notifications
You must be signed in to change notification settings - Fork 1
/
me.acristoffers.Lachesis.yml
49 lines (49 loc) · 1.67 KB
/
me.acristoffers.Lachesis.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
48
49
app-id: me.acristoffers.Lachesis
runtime: org.freedesktop.Platform
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '22.08'
sdk-extensions:
- org.freedesktop.Sdk.Extension.node18
command: lachesis
separate-locales: false
finish-args:
- --share=ipc
- --socket=x11
- --share=network
build-options:
append-path: /usr/lib/sdk/node18/bin
env:
YARN_LOGLEVEL: info
modules:
- name: lachesis
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/lachesis/flatpak-node/cache
npm_config_cache: /run/build/lachesis/flatpak-node/npm-cache
npm_config_nodedir: /usr/lib/sdk/node18
npm_config_offline: 'true'
build-commands:
- bash build-flatpak.sh
- cp -a desktop/dist/linux*unpacked ${FLATPAK_DEST}/main
- install -Dm644 src/icons/icon.iconset/icon_256x256.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 ${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
- install -Dm755 -t /app/bin/ lachesis
sources:
- type: git
url: https://github.com/acristoffers/Lachesis.git
commit: aab1ed66a000f0a62e2aa261c7a7e351f0c70ff6
- generated-sources.json
- type: script
dest-filename: lachesis
commands:
- zypak-wrapper.sh /app/main/lachesis "$@"
- type: file
path: me.acristoffers.Lachesis.desktop
- type: file
path: me.acristoffers.Lachesis.metainfo.xml
- type: file
path: build-flatpak.sh