fix: appimage tunnel service bug

This commit is contained in:
Hiddify
2024-02-10 14:55:20 +01:00
parent 139e191189
commit f58b34df2b
6 changed files with 14 additions and 87 deletions

View File

@@ -2,7 +2,7 @@ name: dev i new
on:
push:
branches:
- main
- ios
paths-ignore:
- '**.md'
- 'docs/**'

View File

@@ -2,7 +2,7 @@ name: dev i
on:
push:
branches:
- main
- ios
paths-ignore:
- '**.md'
- 'docs/**'

10
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"recommendations": [
"dart-code.dart-code",
"dart-code.flutter",
"github.vscode-github-actions",
"golang.go",
"redhat.vscode-yaml",
"codeium.codeium"
]
}

View File

@@ -1,45 +0,0 @@
# output: dist/
# releases:
# - name: prod
# jobs:
# - name: release-windows-exe
# package:
# platform: windows
# target: exe
# - name: release-android-apk
# package:
# platform: android
# target: apk
# build_args:
# target-platform: android-arm,android-arm64,android-x64
# - name: release-android-bundle
# package:
# platform: android
# target: aab
# build_args:
# target-platform: android-arm,android-arm64,android-x64
# variables:
# APPSTORE_USERNAME: "xxx"
# APPSTORE_PASSWORD: "xxx"
# # or
# # APPSTORE_APIKEY: "xxx"
# # APPSTORE_APIISSUER: "xxx"
# output: dist/
# releases:
# - name: dev
# jobs:
# - name: release-dev-ios
# package:
# platform: ios
# target: ipa
# build_args:
# target: lib/main.dart
# export-options-plist: ios/ExportOptions.plist
# # Publish to appstore
# publish:
# target: appstore

37
a.sh
View File

@@ -1,37 +0,0 @@
TARGET_NAME_AppImage="Hiddify-Linux-x64"
TARGET_NAME_deb="Hiddify-Debian-x64"
TARGET_NAME_rpm="Hiddify-rpm-x64"
TARGET_NAME_apk="Hiddify-Android"
TARGET_NAME_aab="Hiddify-Android"
TARGET_NAME_exe="Hiddify-Windows-x64"
TARGET_NAME_dmg="Hiddify-MacOS"
TARGET_NAME_pkg="Hiddify-MacOS-Installer"
TARGET_NAME_ipa="Hiddify-iOS"
ls -R dist/
mkdir out
mkdir tmp_out
for EXT in $(echo AppImage,deb,rpm | tr ',' '\n'); do
KEY=TARGET_NAME_${EXT}
FILENAME=${!KEY}
echo mv dist/*/*.$EXT tmp_out/${FILENAME}.$EXT
echo chmod +x tmp_out/${FILENAME}.$EXT
if [ "linux" == "linux" ];then
echo cp ./.github/help/linux/* tmp_out/
else
echo cp ./.github/help/mac-windows/* tmp_out/
fi
if [[ "linux" == 'ios' ]];then
echo mv tmp_out/${FILENAME}.$EXT bin/${FILENAME}.$EXT
else
cd tmp_out
echo 7z a ${FILENAME}.zip ./
echo mv *.zip ../out/
if [[ $EXT == 'AppImage' ]];then
echo mv ${FILENAME}.$EXT ../out/${FILENAME}.$EXT # added for appimage link
fi
cd ..
fi
done

View File

@@ -29,9 +29,8 @@ categories:
startup_notify: true
app_run_content: "
Hi
"
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