diff --git a/.github/workflows/dev-i copy.yml b/.github/workflows/dev-i copy.yml index f11f97e2..db8d6551 100644 --- a/.github/workflows/dev-i copy.yml +++ b/.github/workflows/dev-i copy.yml @@ -2,7 +2,7 @@ name: dev i new on: push: branches: - - main + - ios paths-ignore: - '**.md' - 'docs/**' diff --git a/.github/workflows/dev-i.yml b/.github/workflows/dev-i.yml index 95f01b16..4643c4ec 100644 --- a/.github/workflows/dev-i.yml +++ b/.github/workflows/dev-i.yml @@ -2,7 +2,7 @@ name: dev i on: push: branches: - - main + - ios paths-ignore: - '**.md' - 'docs/**' diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..890a31e1 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + "recommendations": [ + "dart-code.dart-code", + "dart-code.flutter", + "github.vscode-github-actions", + "golang.go", + "redhat.vscode-yaml", + "codeium.codeium" + ] +} \ No newline at end of file diff --git a/1distribute_options.yaml b/1distribute_options.yaml deleted file mode 100644 index 1e08a464..00000000 --- a/1distribute_options.yaml +++ /dev/null @@ -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 \ No newline at end of file diff --git a/a.sh b/a.sh deleted file mode 100644 index 180258c1..00000000 --- a/a.sh +++ /dev/null @@ -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 diff --git a/linux/packaging/appimage/make_config.yaml b/linux/packaging/appimage/make_config.yaml index 3d167cfe..949a5230 100644 --- a/linux/packaging/appimage/make_config.yaml +++ b/linux/packaging/appimage/make_config.yaml @@ -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