opt: add icon file to flatpak recipe
This commit is contained in:
parent
ff992d0489
commit
10d4571a52
@ -13,8 +13,12 @@
|
|||||||
"build-commands": [
|
"build-commands": [
|
||||||
"bsdtar -zxvf rustdesk-1.2.0.deb",
|
"bsdtar -zxvf rustdesk-1.2.0.deb",
|
||||||
"tar -xvf ./data.tar.xz",
|
"tar -xvf ./data.tar.xz",
|
||||||
"cp -r ./usr /app/",
|
"cp -r ./usr/* /app/",
|
||||||
"mkdir -p /app/bin && ln -s /app/usr/lib/rustdesk/rustdesk /app/bin/rustdesk"
|
"mkdir -p /app/bin && ln -s /app/lib/rustdesk/rustdesk /app/bin/rustdesk",
|
||||||
|
"sed -i '/^Icon=/ c\\Icon=/app/share/rustdesk/files/rustdesk.png' /app/share/applications/rustdesk.desktop",
|
||||||
|
"sed -i '/^Icon=/ c\\Icon=/app/share/rustdesk/files/rustdesk.png' /app/share/applications/rustdesk-link.desktop",
|
||||||
|
"sed -i '/^Exec=/ c\\Exec=/app/bin/rustdesk %u' /app/share/applications/rustdesk.desktop",
|
||||||
|
"sed -i '/^Exec=/ c\\Exec=/app/bin/rustdesk --connect \"%u\"' /app/share/applications/rustdesk-link.desktop"
|
||||||
],
|
],
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user