From 33ccb3f8cb467d993371e0bd942e67f789dc2350 Mon Sep 17 00:00:00 2001 From: Elia Bieri Date: Fri, 18 Aug 2023 16:53:43 +0200 Subject: [PATCH] Fix target name (#41) --- .github/workflows/build_release.yml | 4 ++-- app/src/widgets/store/widget_store.rs | 2 +- install_on_raspberry.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index e3089e2..56a5287 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -30,8 +30,8 @@ jobs: run: make app_aarch64 - name: Rename artifacts run: | - mv app/target/aarch64-unknown-linux-gnueabihf/release/app wg-display-aarch64-unknown-linux-gnueabihf + mv app/target/aarch64-unknown-linux-gnu/release/app wg-display-aarch64-unknown-linux-gnu - uses: ncipollo/release-action@v1 with: - artifacts: "wg-display-aarch64-unknown-linux-gnueabihf" + artifacts: "wg-display-aarch64-unknown-linux-gnu" artifactErrorsFailBuild: true diff --git a/app/src/widgets/store/widget_store.rs b/app/src/widgets/store/widget_store.rs index 43d6c35..dfeb935 100644 --- a/app/src/widgets/store/widget_store.rs +++ b/app/src/widgets/store/widget_store.rs @@ -2,7 +2,7 @@ use anyhow::Result; use common::models::WidgetStoreItem; const WIDGET_LISTING_URL: &str = - "https://raw.githubusercontent.com/eliabieri/wg_display/feature/wasm_widget_support/widget_store.json"; + "https://raw.githubusercontent.com/eliabieri/wg_display/main/widget_store.json"; pub struct WidgetStore { store_items: Vec, diff --git a/install_on_raspberry.py b/install_on_raspberry.py index f45682c..fa50c33 100755 --- a/install_on_raspberry.py +++ b/install_on_raspberry.py @@ -11,7 +11,7 @@ def get_release_name() -> str: machine = platform.machine() if 'armv8' in machine: - return "aarch64-unknown-linux-gnueabihf" + return "aarch64-unknown-linux-gnu" print(f'Unsupported architecture: {machine}. Only 64-bit capable Raspberry Pi\'s are supported for now.') sys.exit(1)