-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.maxizamorano.photoweb.yml
47 lines (47 loc) · 1.76 KB
/
com.maxizamorano.photoweb.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: com.maxizamorano.photoweb
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: "23.08"
command: photoweb.sh
sdk-extensions:
- org.freedesktop.Sdk.Extension.node20
finish-args:
- --socket=x11
- --share=network
- --filesystem=xdg-download
- --device=dri
build-options:
append-path: /usr/lib/sdk/node20/bin
env:
NPM_CONFIG_LOGLEVEL: info
modules:
- name: photoweb
buildsystem: simple
build-options:
env:
XDG_CACHE_HOME: /run/build/photoweb/cache
build-commands:
- install -D -t /app/bin photoweb.sh
- mkdir /app/main
- |
if [ "$(arch)" = "x86_64" ]; then
tar -xzf photoweb_electron_build_x86_64.tar.gz -C /app/main;
else
tar -xzf photoweb_electron_build_aarch64.tar.gz -C /app/main;
fi
- install -Dm755 /app/main/resources/data/com.maxizamorano.photoweb.desktop -t /app/share/applications
- install -Dm644 /app/main/resources/data/com.maxizamorano.photoweb.metainfo.xml -t /app/share/metainfo
- install -Dm644 /app/main/resources/icons/photoweb.png /app/share/icons/hicolor/512x512/apps/com.maxizamorano.photoweb.png
sources:
- type: file
url: https://github.com/MaxiZamorano/photoweb/releases/download/v1.0.0/photoweb_electron_build_x86_64.tar.gz
sha256: aadf8f73ec626c47c4df2174fe6b610b09f5c2d8f800ea89400d4d235e3bda3b
- type: file
url: https://github.com/MaxiZamorano/photoweb/releases/download/v1.0.0/photoweb_electron_build_aarch64.tar.gz
sha256: 780fd978925fe3aa6cf17b4a372381c04b25fc6563f0aa55fc02b2d69a962c97
- type: script
dest-filename: photoweb.sh
commands:
- zypak-wrapper.sh /app/main/photoweb "$@"