Fix Linux App startup icon (#344)
* Fix Linux App startup icon * Use project version from cmake * Set Release date automatically
This commit is contained in:
parent
52400252dd
commit
b4df5c076e
9 changed files with 19 additions and 15 deletions
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=AmneziaVPN client
|
||||
Version=2.0.10
|
||||
Comment=Client of your self-hosted VPN
|
||||
Exec=AmneziaVPN
|
||||
Icon=/usr/share/pixmaps/AmneziaVPN_Logo.png
|
||||
Categories=Network;Qt;Security;
|
||||
Terminal=false
|
BIN
deploy/data/linux/AmneziaVPN.png
Normal file
BIN
deploy/data/linux/AmneziaVPN.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=AmneziaVPN client
|
||||
Version=2.0.10
|
||||
Comment=Client of your self-hosted VPN
|
||||
Exec=AmneziaVPN
|
||||
Icon=/usr/share/pixmaps/AmneziaVPN_Logo.png
|
||||
Categories=Network;Qt;Security;
|
||||
Terminal=false
|
Binary file not shown.
Before Width: | Height: | Size: 55 KiB |
|
@ -37,6 +37,7 @@ sudo ln -s $APP_PATH/client/$APP_NAME.sh /usr/local/bin/$APP_NAME >> $LOG_FILE
|
|||
|
||||
echo "user desktop creation loop started" >> $LOG_FILE
|
||||
sudo cp $APP_PATH/$APP_NAME.desktop /usr/share/applications/ >> $LOG_FILE
|
||||
sudo cp $APP_PATH/$APP_NAME.png /usr/share/pixmaps/ >> $LOG_FILE
|
||||
sudo chmod 555 /usr/share/applications/$APP_NAME.desktop >> $LOG_FILE
|
||||
|
||||
echo "user desktop creation loop ended" >> $LOG_FILE
|
||||
|
|
|
@ -54,6 +54,11 @@ if test -f /usr/share/applications/$APP_NAME.desktop; then
|
|||
|
||||
fi
|
||||
|
||||
if test -f /usr/share/pixmaps/$APP_NAME.png; then
|
||||
sudo rm -f /usr/share/pixmaps/$APP_NAME.png >> $LOG_FILE
|
||||
|
||||
fi
|
||||
|
||||
date >> $LOG_FILE
|
||||
echo "Service after uninstall status:" >> $LOG_FILE
|
||||
sudo systemctl status $APP_NAME >> $LOG_FILE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue