diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index bcad6232..2f21d925 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -34,7 +34,7 @@ jobs: - name: Build generated files working-directory: app - run: flutter pub run build_runner build -d + run: dart run build_runner build -d - name: Upload updated lib files with generated code uses: actions/upload-artifact@v6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4b76703e..367de8a1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,7 @@ After you have installed [Flutter](https://flutter.dev), then you can start this ```shell cd app flutter pub get -flutter pub run build_runner build -d +dart run build_runner build -d flutter run ``` diff --git a/scripts/compile_android_apk.sh b/scripts/compile_android_apk.sh index fb4a93cb..2f3cce0f 100644 --- a/scripts/compile_android_apk.sh +++ b/scripts/compile_android_apk.sh @@ -24,7 +24,7 @@ git submodule update --init alias flutter='submodules/flutter/bin/flutter' flutter config --no-analytics flutter pub get -flutter pub run build_runner build -d +dart run build_runner build -d flutter build apk popd diff --git a/scripts/compile_windows_msix_store.ps1 b/scripts/compile_windows_msix_store.ps1 index 7f2fd24d..262ed5ea 100644 --- a/scripts/compile_windows_msix_store.ps1 +++ b/scripts/compile_windows_msix_store.ps1 @@ -4,7 +4,7 @@ fvm flutter clean fvm flutter pub get -fvm flutter pub run build_runner build -d +fvm dart run build_runner build -d fvm flutter pub run msix:create --store Move-Item -Path build/windows/x64/runner/Release/localsend_app.msix -Destination LocalSend-XXX-windows-x86-64-store.msix