From f35f994d4df3c4c5bdf4fc0cffca2267ed4c8d1e Mon Sep 17 00:00:00 2001 From: Hiddify Date: Wed, 13 Mar 2024 13:34:08 +0100 Subject: [PATCH] update ios release --- .github/workflows/build.yml | 8 ++++++-- lib/bootstrap.dart | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7b1c07c3..f40970f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -144,8 +144,8 @@ jobs: if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }} run: | mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles - echo "${{secrets.APPLE_MOBILE_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/ - echo "${{secrets.APPLE_DEVLOP_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/ + echo "${{secrets.APPLE_MOBILE_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles + # echo "${{secrets.APPLE_DEVLOP_PROVISIONING_PROFILES_TARGZ_BASE64}}"|base64 --decode | tar xz -C ~/Library/MobileDevice/Provisioning\ Profiles @@ -200,6 +200,10 @@ jobs: # mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles # cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles # cp $PP_PACKET_TUNNEL_PATH ~/Library/MobileDevice/Provisioning\ Profiles + - name: Temporary disable Permission Handler for windows due to its issue in permission + if: ${{ startsWith(matrix.platform,'windows') }} + run: | + (Get-Content -Path "pubspec.yaml") -notmatch "permission_handler" | Set-Content -Path "pubspec.yaml" - name: Prepare for ${{ matrix.platform }} run: | diff --git a/lib/bootstrap.dart b/lib/bootstrap.dart index 23dc04e2..c9abc2fb 100644 --- a/lib/bootstrap.dart +++ b/lib/bootstrap.dart @@ -63,7 +63,7 @@ Future lazyBootstrap( ); final enableAnalytics = - true || await container.read(analyticsControllerProvider.future); + await container.read(analyticsControllerProvider.future); if (enableAnalytics) { await _init( "analytics",