disable: permission handler for windows

This commit is contained in:
Hiddify
2024-03-13 17:28:24 +01:00
parent 734a7c0e31
commit 383c9a0177
2 changed files with 11 additions and 7 deletions

View File

@@ -171,6 +171,12 @@ jobs:
if: ${{ startsWith(matrix.platform,'windows') }}
run: |
(Get-Content -Path "pubspec.yaml") -notmatch "permission_handler" | Set-Content -Path "pubspec.yaml"
(Get-Content -Path "lib\features\profile\add\add_profile_modal.dart") -notmatch "qr_code_scanner_screen" | Set-Content -Path "lib\features\profile\add\add_profile_modal.dart"
(Get-Content -Path lib\features\profile\add\add_profile_modal.dart) -replace 'await QRCodeScannerScreen\(\).open\(context\);', 'null;' | Set-Content -Path lib\features\profile\add\add_profile_modal.dart
Remove-Item -Path "lib\features\common\qr_code_scanner_screen.dart"
- name: Prepare for ${{ matrix.platform }}
run: |