-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.trezor.suite.yml
68 lines (60 loc) · 2.21 KB
/
io.trezor.suite.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
app-id: io.trezor.suite
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: trezor-suite
separate-locales: false
rename-icon: trezor-suite
finish-args:
# Essential to get the autostart working.
- --filesystem=~/.config/autostart
- --share=network
- --device=all
- --share=ipc
- --socket=x11
modules:
- name: unappimage
buildsystem: simple
build-commands:
- make -C squashfs-tools install INSTALL_DIR=/app/bin
sources:
- type: git
url: https://github.com/refi64/unappimage
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a
- name: trezor-suite
buildsystem: simple
sources:
# x86_64 AppImage
- type: extra-data
only-arches: [x86_64]
url: https://data.trezor.io/suite/releases/desktop/latest/Trezor-Suite-24.10.1-linux-x86_64.AppImage
size: 167290331
sha256: 2d3ae954339c2fc2fe82df88842fdf2a6521e37033929dbd1572a325fca98638
filename: Trezor-Suite.AppImage
# ARM64 AppImage
- type: extra-data
only-arches: [aarch64]
url: https://data.trezor.io/suite/releases/desktop/latest/Trezor-Suite-24.10.1-linux-arm64.AppImage
size: 166420851
sha256: bef1f321102b50c7569a19bfa64490252fa777e6dff2c26c0cfe5318c0e8872a
filename: Trezor-Suite.AppImage
- type: script
dest-filename: trezor-suite
commands:
- exec zypak-wrapper /app/extra/bin/trezor-suite "$@" --skip-new-bridge-rollout
- type: file
path: io.trezor.suite.appdata.xml
- type: file
path: io.trezor.suite.desktop
- type: file
path: apply_extra.sh
- type: file
path: icons/trezor-suite.png
build-commands:
- install -Dm755 apply_extra.sh "${FLATPAK_DEST}/bin/apply_extra"
- install -Dm755 trezor-suite "${FLATPAK_DEST}/bin/trezor-suite"
- install -Dm644 io.trezor.suite.desktop "${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop"
- install -Dm644 io.trezor.suite.appdata.xml "${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml"
- install -Dm644 -t ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps trezor-suite.png