Merge branch 'version-v1'

Former-commit-id: 003b9856cb
This commit is contained in:
Leroy.H.Y 2019-09-13 22:53:02 +08:00
commit a59b11700d
4 changed files with 42 additions and 6 deletions

8
.gitignore vendored
View File

@ -1,9 +1,9 @@
# Some files
.DS_Store .DS_Store
*.pro.user *.pro.user
*.qm *.qm
./.vscode
build/ build/
src/build/ src/build/
./.vscode OpenBuildService/
tools/python-3.7.3.exe
Qv2ray.pro.user.4.10-pre1

26
icons/AppImage-AppRun Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
set -e
if [ ! -z "$DEBUG" ] ; then
env
set -x
fi
THIS="$0"
# http://stackoverflow.com/questions/3190818/
args=("$@")
NUMBER_OF_ARGS="$#"
if [ -z $APPDIR ] ; then
# Find the AppDir. It is the directory that contains AppRun.
# This assumes that this script resides inside the AppDir or a subdirectory.
# If this script is run inside an AppImage, then the AppImage runtime likely has already set $APPDIR
path="$(dirname "$(readlink -f "${THIS}")")"
while [[ "$path" != "" && ! -e "$path/$1" ]]; do
path=${path%/*}
done
APPDIR="$path"
fi
echo Application is located at: $APPDIR
exec $APPDIR/opt/Qv2ray/bin/Qv2ray

9
icons/AppImage-Qv2ray.desktop Executable file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Keywords=Internet;VPN;Proxy;v2ray;Qt
Categories=Network;Qt;
Icon=Qv2ray
Exec=AppRun
Name=Qv2ray
Comment=Cross-platform v2ray GUI Client in Qt.

View File

@ -1,8 +1,9 @@
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
Type=Application Type=Application
Keywords=Internet;VPN;Proxy;v2ray;Qt
Categories=Network;Qt; Categories=Network;Qt;
Icon=Qv2ray Icon=Qv2ray
Exec=/opt/Qv2ray/Qv2ray %u Exec=/opt/Qv2ray/Qv2ray
Name=Qv2ray Name=Qv2ray
Comment=Qt cross platform v2ray GUI client Comment=Cross-platform v2ray GUI Client in Qt.