-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathio.github.milkshiift.GoofCord.yml
88 lines (77 loc) · 3.8 KB
/
io.github.milkshiift.GoofCord.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
app-id: io.github.milkshiift.GoofCord
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '24.08'
command: startgoofcord
separate-locales: false
finish-args:
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --share=network
- --share=ipc
- --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
- --talk-name=org.freedesktop.secrets
- --talk-name=org.kde.kwalletd5
- --talk-name=org.kde.kwalletd6
modules:
- name: desktop
buildsystem: simple
build-commands:
- desktop-file-edit --set-key="Exec" --set-value="startgoofcord" --set-icon=$FLATPAK_ID
io.github.milkshiift.GoofCord.desktop
- install -D io.github.milkshiift.GoofCord.desktop /app/share/applications/io.github.milkshiift.GoofCord.desktop
sources:
- type: dir
path: .
- name: GoofCord
buildsystem: simple
build-commands:
- chmod +x GoofCord.AppImage
- ./GoofCord.AppImage --appimage-extract
#- desktop-file-edit --set-key="Exec" --set-value="startgoofcord" --set-icon=$FLATPAK_ID squashfs-root/goofcord.desktop
- install -D squashfs-root/usr/share/icons/hicolor/512x512/apps/goofcord.png
/app/share/icons/hicolor/512x512/apps/io.github.milkshiift.GoofCord.png
#- install -D squashfs-root/goofcord.desktop /app/share/applications/io.github.milkshiift.GoofCord.desktop
- install -Dm755 startgoofcord /app/bin/startgoofcord
- install -D io.github.milkshiift.GoofCord.metainfo.xml -t /app/share/metainfo/
- mv squashfs-root /app/bin/goofcord
sources:
- type: file
path: startgoofcord
- type: file
url: https://raw.githubusercontent.com/Milkshiift/GoofCord/0bc291470360383f2b869b2fce27981c1075f97e/assetsDev/io.github.milkshiift.GoofCord.metainfo.xml
sha512: 37f63ca87c23681595047bb8d3edb08d29b9f4e9334b24727c516cf5db9cc56a6c04bc2f6c28cb7c88a2f56c6f46c6514585f2d5b4b9e90bec76abde712f73aa
- type: file
url: https://github.com/Milkshiift/GoofCord/releases/download/v1.8.1/GoofCord-1.8.1-linux-x86_64.AppImage
sha512: 3ef36d3eb36943f038f2c0bbfa3f2e84667ef7f3072a602899a38c6f8b1368c0976bf364327331e52bf4619b5317df3e4194b7c65bf37b343c0d86fe44171cc6
only-arches: [x86_64]
dest-filename: GoofCord.AppImage
x-checker-data:
type: json
url: https://api.github.com/repos/milkshiift/GoofCord/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^v"; "")
timestamp-query: .published_at
url-query: '"https://github.com/Milkshiift/GoofCord/releases/download/"
+ $tag + "/GoofCord-" + $version + "-linux-x86_64.AppImage"'
- type: file
url: https://github.com/Milkshiift/GoofCord/releases/download/v1.8.1/GoofCord-1.8.1-linux-arm64.AppImage
sha512: 65616b2cba055b635e02960d093f0ac94813b579bd2c98caef4773f3d4d81fdaa5c7965bc32174b84a391c4de79b150d4fc502bfffcfc9adb8e72c687d7459fb
only-arches: [aarch64]
dest-filename: GoofCord.AppImage
x-checker-data:
type: json
url: https://api.github.com/repos/milkshiift/GoofCord/releases/latest
tag-query: .tag_name
version-query: $tag | sub("^v"; "")
timestamp-query: .published_at
url-query: '"https://github.com/Milkshiift/GoofCord/releases/download/"
+ $tag + "/GoofCord-" + $version + "-linux-arm64.AppImage"'