mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 14:59:02 +08:00
try out APPIMAGE and ARGV0
This commit is contained in:
parent
d46b2d52ce
commit
3c17d713b3
@ -12,6 +12,12 @@ script:
|
||||
# desktop file
|
||||
# - sed -i "s/Icon=\/usr\/share\/rustdesk\/files\/rustdesk.png/Icon=rustdesk/g" ./AppDir/usr/share/applications/rustdesk.desktop
|
||||
- rm -rf ./AppDir/usr/share/applications
|
||||
- touch ./AppDir/start.sh
|
||||
- echo "#\!/bin/sh" >> ./AppDir/start.sh
|
||||
- echo "echo \$APPIMAGE" >> ./AppDir/start.sh
|
||||
- echo "echo \$ARGV0" >> ./AppDir/start.sh
|
||||
- echo "exec usr/lib/rustdesk/rustdesk" >> ./AppDir/start.sh
|
||||
- chmod +x ./AppDir/start.sh
|
||||
AppDir:
|
||||
path: ./AppDir
|
||||
app_info:
|
||||
@ -19,7 +25,7 @@ AppDir:
|
||||
name: rustdesk
|
||||
icon: rustdesk
|
||||
version: 1.2.4
|
||||
exec: usr/lib/rustdesk/rustdesk
|
||||
exec: ./start.sh
|
||||
exec_args: $@
|
||||
apt:
|
||||
arch:
|
||||
|
Loading…
Reference in New Issue
Block a user