初始化提交

This commit is contained in:
2025-09-23 16:23:15 +08:00
commit 877b18a70f
590 changed files with 53617 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
#!/bin/bash
cd "$(dirname "$0")"
export LD_LIBRARY_PATH=usr/lib
# Usage info
show_help() {
cat << EOF
Usage: ${0##*/} ...
start Hiddify or BearVPNCli, when no parameter is given, Hiddify is executed.
-v show version
EOF
}
show_version() {
printf "Hiddify version "
jq .version <./data/flutter_assets/version.json
}
# Initialize variables:
service=0 #declare -i service
OPTIND=1
# Resetting OPTIND is necessary if getopts was used previously in the script.
# It is a good idea to make OPTIND local if you process options in a function.
# if no arg is provided, execute hiddify app
if [[ $# == 0 ]];then
exec ./hiddify
else
# processing arguments
case $1 in
BearVPNCli)
exec ./BearVPNCli ${@:3}
exit 0
;;
h)
show_help
exit 0
;;
v) show_version
exit 0
;;
*)
show_help >&2
exit 1
;;
esac
fi
+43
View File
@@ -0,0 +1,43 @@
display_name: Hiddify
icon: ./assets/images/source/ic_launcher_border.png
keywords:
- Hiddify
- Proxy
- VPN
- V2ray
- Nekoray
- Xray
- Psiphon
- OpenVPN
generic_name: Hiddify
actions:
- name: Start
label: start
arguments:
- --start
- name: Stop
label: stop
arguments:
- --stop
categories:
- Network
startup_notify: true
app_run_file: AppRun
# You can specify the shared libraries that you want to bundle with your app
#
# flutter_distributor automatically detects the shared libraries that your app
# depends on, but you can also specify them manually here.
#
# The following example shows how to bundle the libcurl library with your app.
#
# include:
# - libcurl.so.4
include: []