diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml
index 3340bc4..d5e8be8 100644
--- a/.github/workflows/build-test.yml
+++ b/.github/workflows/build-test.yml
@@ -29,9 +29,8 @@ jobs:
- name: Build Wasm & Web 🔧
run: |
- cp $(go env GOROOT)/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js
-
npm ci
+ npm run init
npm run build-wasm
npm run build-only
cp dist/index.html dist/404.html
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8223e8c..639af32 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -29,10 +29,8 @@ jobs:
- name: Build Wasm & Web 🔧
run: |
- GOROOT=$(go env GOROOT)
- cp $GOROOT/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js
-
npm ci
+ npm run init
npm run build-wasm
npm run build-only
cp dist/index.html dist/404.html
diff --git a/package.json b/package.json
index 867f947..49e78db 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,7 @@
"version": "0.0.0",
"private": true,
"scripts": {
- "init": "cp $(go env GOROOT)/misc/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js",
+ "init": "cp $(go env GOROOT)/lib/wasm/wasm_exec.js src/assets/wasm/wasm_exec.js",
"build-wasm": "cd src/wasm/activity-service && make build",
"build-only": "vite build",
"dev": "vite --host",
diff --git a/src/components/ToolDeviceSelector.vue b/src/components/ToolDeviceSelector.vue
index dc1f863..502825d 100644
--- a/src/components/ToolDeviceSelector.vue
+++ b/src/components/ToolDeviceSelector.vue
@@ -39,12 +39,11 @@ import type { PropType } from 'vue'
-
-
- Currently, we don't have a device mapping for
- "{{ selected.manufacturerName }}". We require a valid
- product_id to generate a FIT file for the targeted device. Without a valid
- product_id, the resulting FIT file may not be recognized by other platforms.
+
+
+ We require a valid product_id to generate a FIT file for the targeted device.
+ Without a valid product_id, the resulting FIT file may not be recognized by other
+ platforms.