From 3e58265db36005e2bf2126f1e21feb443ec82c9f Mon Sep 17 00:00:00 2001 From: Hannes Winkler Date: Wed, 22 Jul 2026 10:08:56 +0200 Subject: [PATCH 1/3] map upstream riscv64 => flutterpi riscv64 properly --- lib/src/more_os_utils.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/more_os_utils.dart b/lib/src/more_os_utils.dart index b44974c..6b2fdb3 100644 --- a/lib/src/more_os_utils.dart +++ b/lib/src/more_os_utils.dart @@ -87,7 +87,7 @@ class MoreOperatingSystemUtilsWrapper implements MoreOperatingSystemUtils { HostPlatform.linux_arm64 => FlutterpiHostPlatform.linuxARM64, HostPlatform.windows_x64 => FlutterpiHostPlatform.windowsX64, HostPlatform.windows_arm64 => FlutterpiHostPlatform.windowsARM64, - _ => throw UnsupportedError('Unsupported host platform: $hostPlatform'), + HostPlatform.linux_riscv64 => FlutterpiHostPlatform.linuxRV64, }; } From c0ba215240a9d8223ffdc534a9d8eea75d95c983 Mon Sep 17 00:00:00 2001 From: Hannes Winkler Date: Wed, 22 Jul 2026 10:12:25 +0200 Subject: [PATCH 2/3] update CI and pubspec to flutter 3.44.0 --- .github/workflows/build-app.yml | 4 ++-- .github/workflows/flutter.yml | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index 0f268be..f0665d3 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -38,7 +38,7 @@ jobs: with: cache: true channel: stable - flutter-version: 3.41.0 + flutter-version: 3.44.0 - name: Install dependencies & Activate as global executable run: | @@ -51,7 +51,7 @@ jobs: - name: Run flutterpi_tool build working-directory: test_app env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ github.token }} run: | echo '::group::flutterpi_tool build ... --debug-unoptimized' flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --debug-unoptimized --debug-symbols --verbose diff --git a/.github/workflows/flutter.yml b/.github/workflows/flutter.yml index d9779b5..675a19f 100644 --- a/.github/workflows/flutter.yml +++ b/.github/workflows/flutter.yml @@ -18,7 +18,7 @@ jobs: build: runs-on: ubuntu-latest env: - GITHUB_TOKEN: ${{ secrets.TOKEN }} + GITHUB_TOKEN: ${{ github.token }} steps: - uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: with: cache: true channel: stable - flutter-version: 3.41.0 + flutter-version: 3.44.0 - name: Install dependencies run: flutter pub get diff --git a/pubspec.yaml b/pubspec.yaml index 29a417b..faf36cf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,7 +5,7 @@ repository: https://github.com/ardera/flutterpi_tool environment: sdk: ^3.0.5 - flutter: ">=3.41.0" + flutter: ">=3.44.0" executables: # TODO(ardera): Maybe add an alias `flutterpi-tool` here? From ab525d4844be2cf269d3490efe498f25311daf6c Mon Sep 17 00:00:00 2001 From: Hannes Winkler Date: Wed, 22 Jul 2026 10:15:30 +0200 Subject: [PATCH 3/3] fix: add pi5 to native assets arch map --- lib/src/build_system/build_app.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/build_system/build_app.dart b/lib/src/build_system/build_app.dart index a0390e1..b1223af 100644 --- a/lib/src/build_system/build_app.dart +++ b/lib/src/build_system/build_app.dart @@ -177,7 +177,8 @@ class AppBuilder { FlutterpiTargetPlatform.genericRiscv64 => 'riscv64', FlutterpiTargetPlatform.genericAArch64 || FlutterpiTargetPlatform.pi3_64 || - FlutterpiTargetPlatform.pi4_64 => + FlutterpiTargetPlatform.pi4_64 || + FlutterpiTargetPlatform.pi5_64 => 'arm64', FlutterpiTargetPlatform.genericArmV7 || FlutterpiTargetPlatform.pi3 ||