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