File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,19 @@ finish-args:
24
24
- --device=all
25
25
# Documents (data folder) access
26
26
- --filesystem=xdg-documents/MOD Desktop:create
27
+ rename-desktop-file : mod-desktop.desktop
28
+ rename-icon : mod-desktop
27
29
modules :
28
30
- name : mod-desktop
29
31
buildsystem : simple
30
32
build-commands :
31
33
- mkdir -p ${FLATPAK_DEST}/opt
32
34
- mv mod-desktop ${FLATPAK_DEST}/opt/.
33
35
- install -Dm755 mod-desktop.sh ${FLATPAK_DEST}/bin/mod-desktop
36
+ - install -Dm644 mod-desktop-git/res/mod-logo.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/mod-desktop.svg
37
+ - install -Dm644 mod-desktop-git/utils/linux/mod-desktop.desktop ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
38
+ - desktop-file-edit --set-key Exec --set-value "mod-desktop" ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
39
+ - desktop-file-edit --set-key Icon --set-value "mod-desktop" ${FLATPAK_DEST}/share/applications/mod-desktop.desktop
34
40
sources :
35
41
- type : archive
36
42
url : https://github.com/mod-audio/mod-desktop/releases/download/0.0.12/mod-desktop-0.0.12-linux-x86_64.tar.xz
@@ -42,6 +48,11 @@ modules:
42
48
url : https://api.github.com/repos/ibancg/lingot/releases
43
49
version-query : ' .[].tag_name | sub("^v"; "")'
44
50
url-query : ' .[].assets.[] | select(.name=="mod-desktop-" + $version + "-linux-x86_64.tar.xz") | .browser_download_url'
51
+ - type : git
52
+ url : https://github.com/mod-audio/mod-desktop.git
53
+ commit : 86bcaa3daa854440f707b15ad10a1aaaff4b54b1
54
+ tag : 0.0.12
55
+ dest : mod-desktop-git
45
56
- type : script
46
57
dest-filename : mod-desktop.sh
47
58
commands :
You can’t perform that action at this time.
0 commit comments