From c77d11d57f0059d9a9adb145cd87b43466f0deef Mon Sep 17 00:00:00 2001 From: DattatreyaReddy Panta <58727124+DattatreyaReddy@users.noreply.github.com> Date: Wed, 17 Jan 2024 02:41:50 +0530 Subject: [PATCH] fixed windows build --- .github/workflows/publish.yml | 6 +++--- .../presentation/reader/reader_settings_screen.dart | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c1cbdbab..62dc169f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: build_path: build/macos/Build/Products/Release - os: windows-latest target: windows - build_path: build\windows\runner\Release + build_path: build\windows\x64\runner\Release steps: - uses: subosito/flutter-action@v2 @@ -160,7 +160,7 @@ jobs: Copy-Item "${env:GITHUB_WORKSPACE}\scripts\${{ env.pkg_name }}-x64.wxs" . Copy-Item "${env:GITHUB_WORKSPACE}\assets\icons\launcher\sorayomi_icon.ico" . heat dir data -cg data -dr data -sreg -sfrag -gg -o data.wxs - candle -arch x64 -dVersion="${{ github.ref_name }}" -dUpgradeCode="$upgradeCode" -dIcon="sorayomi_icon.ico" "${{ env.pkg_name }}-x64.wxs" data.wxs + candle -arch x64 -dVersion="${{ github.ref_name }}" -dUpgradeCode="$upgradeCode" -dIcon="sorayomi_icon.ico" "${{ env.pkg_name }}-x64.wxs" data.wxs light -b data "${{ env.pkg_name }}-x64.wixobj" data.wixobj -o "${{ env.pkg_name }}-${{ github.ref_name }}-${{ matrix.target }}-x64.msi" Move-Item "${{ env.pkg_name }}-${{ github.ref_name }}-${{ matrix.target }}-x64.msi" "${env:GITHUB_WORKSPACE}" @@ -193,4 +193,4 @@ jobs: token: ${{secrets.WINGET}} tap: homebrew/homebrew-cask cask: tachidesk-sorayomi - livecheck: true \ No newline at end of file + livecheck: true diff --git a/lib/src/features/settings/presentation/reader/reader_settings_screen.dart b/lib/src/features/settings/presentation/reader/reader_settings_screen.dart index 31cfc8ce..374386d4 100644 --- a/lib/src/features/settings/presentation/reader/reader_settings_screen.dart +++ b/lib/src/features/settings/presentation/reader/reader_settings_screen.dart @@ -47,7 +47,6 @@ class ReaderSettingsScreen extends ConsumerWidget { if (Platform.isAndroid) ...[ const ReaderVolumeTapTile(), if (isVolumeTapEnabled) const ReaderVolumeTapInvertTile(), - const ReaderPinchToZoom(), ], ], const Gap(128),