-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathxyz.armcord.ArmCord.yml
61 lines (52 loc) · 2.48 KB
/
xyz.armcord.ArmCord.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
app-id: xyz.armcord.ArmCord
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: startarmcord
separate-locales: false
finish-args: # We aren't trying to get tray icons working here for several reasons, mainly I'm too stressed to figure them out. -Oro
- --socket=pulseaudio
- --socket=x11
- --share=ipc
- --share=network
- --talk-name=org.freedesktop.Notifications # Discord push notifs
- --talk-name=org.kde.StatusNotifierWatcher # Tray functionalities on KDE
- --device=all # Needed for GPU acceleration and the webcam
- --filesystem=xdg-videos:ro
- --filesystem=xdg-pictures:ro
- --filesystem=xdg-download # This and the above two are used for drag-n-drop, and download managing
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons # This is used to show the correct cursor on Wayland
modules:
- name: minerals
buildsystem: simple
build-commands:
- install -Dm755 minerals/startarmcord /app/bin/startarmcord
- install -D minerals/xyz.armcord.ArmCord.desktop -t /app/share/applications/
- install -D xyz.armcord.ArmCord.metainfo.xml -t /app/share/metainfo/
sources:
- type: dir
path: .
- name: ArmCord
buildsystem: simple
build-commands:
- chmod +x ArmCord*.AppImage
- ./ArmCord*.AppImage --appimage-extract
- install -D squashfs-root/usr/share/icons/hicolor/512x512/apps/armcord.png /app/share/icons/hicolor/512x512/apps/xyz.armcord.ArmCord.png
- mv squashfs-root /app/bin/armcord
sources:
- type: file
url: https://github.com/ArmCord/ArmCord/releases/latest/download/ArmCord-3.3.1-linux-x86_64.AppImage
sha512: 22c7e43084c280ae99717e70454a4370ded9c15a68e5d976e130558df43a2f97556ecd6a80ee45109bd019645754620539a0fd02e04e316ec1ec92b5d6e743ce
only-arches: [x86_64]
x-checker-data:
type: electron-updater
url: https://github.com/ArmCord/ArmCord/releases/latest/download/latest-linux.yml
- type: file
url: https://github.com/ArmCord/ArmCord/releases/latest/download/ArmCord-3.3.1-linux-arm64.AppImage
sha512: a224e24c7a9b22882f75fd16ec16f2aaff6d374fa28030c2c47d9949284a7f48b7269949533906dde3841588425db493dcbf77d5a7421525da0970cf3b81d872
only-arches: [aarch64]
x-checker-data:
type: electron-updater
url: https://github.com/ArmCord/ArmCord/releases/latest/download/latest-linux-arm64.yml