linux deploy refactored

This commit is contained in:
leetthewire 2022-08-09 22:19:37 +04:00
parent 9236be7fbd
commit 929ecfd42b
113 changed files with 21 additions and 43 deletions

View file

@ -5,8 +5,6 @@
#
# ####################################################################
#
# All variables has the CQT_ prefix
# BIN_PATH - are releative path to executable files of a deployed distribution.
# LIB_PATH - are releative path to libraryes of a deployed distribution.
# QML_PATH - are releative path to qml libraryes of a deployed distribution.
# PLUGIN_PATH - are releative path to qt plugins of a deployed distribution.
@ -20,7 +18,6 @@
# ####################################################################
BASE_DIR=$(dirname "$(readlink -f "$0")")
export PATH="$BASE_DIR"/bin/:$PATH
export LD_LIBRARY_PATH="$BASE_DIR"/lib/:"$BASE_DIR":$LD_LIBRARY_PATH
export QML_IMPORT_PATH="$BASE_DIR"/qml/:$QML_IMPORT_PATH
export QML2_IMPORT_PATH="$BASE_DIR"/qml/:$QML2_IMPORT_PATH

View file

@ -1,14 +0,0 @@
[Unit]
Description=AmneziaVPN Service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart=/opt/AmneziaVPN/service/bin/AmneziaVPN-service
Environment="LD_LIBRARY_PATH=/opt/AmneziaVPN/client/lib/"
[Install]
WantedBy=multi-user.target

View file

@ -1,7 +0,0 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=AmneziaVPN service
Comment=AmneziaVPN service
Exec=AmneziaVPN-service
Categories=VPN

View file

@ -1 +0,0 @@
<クd<>箆!ソ`。スン