Skip to content

Commit 3b3e7fe

Browse files
committed
Flatpak: modify path in .desktop
1 parent 1864a7b commit 3b3e7fe

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

App/Client/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ if(UNIX AND NOT ANDROID)
126126
COMPONENT Application
127127
RENAME ${APP_ID}.svg)
128128
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Resource/icons/rabbit-green/svg/app.svg
129-
DESTINATION share/icons/hicolor/200x200/apps
129+
DESTINATION share/icons/hicolor/scalable/apps
130130
COMPONENT Application
131131
RENAME ${APP_ID}.svg)
132132
endif()

Package/io.github.KangLin.RabbitRemoteControl.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@
252252
"build-options": {
253253
"env": {
254254
}
255-
}
255+
},
256+
"post-install": [
257+
"sed -i 's|Path=/app/bin|Path=/bin|' /app/share/applications/io.github.KangLin.RabbitRemoteControl.desktop"
258+
]
256259
}
257260
]
258261
}

0 commit comments

Comments
 (0)