mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-08 02:33:28 +00:00
Adds a throwaway App.vue that exercises enumerate/open_device/list_dir/ close_device over Tauri 2 IPC and logs addDevice/removeDevice/progress events. open_device, list_dir, and close_device are wrapped with a 10s client-side timeout each so a hang or Busy response from the CX II's known firmware issue can't block the other calls from reporting; enumerate only reads USB descriptors and is left untimed. Installs @tauri-apps/plugin-dialog and @tauri-apps/plugin-shell per the task-7 brief's Step 1. Manual GUI verification against a connected device (brief Steps 3-4) is out of scope here and left to the user; download_file/sha256 cross-check is intentionally omitted since any libnspire transfer against this CX II is known to hang. Replaced by the real UI in Plan B.
27 lines
594 B
JSON
27 lines
594 B
JSON
{
|
|
"name": "n-link",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@tauri-apps/api": "^2.11.1",
|
|
"@tauri-apps/plugin-dialog": "^2.7.2",
|
|
"@tauri-apps/plugin-opener": "^2",
|
|
"@tauri-apps/plugin-shell": "^2.3.5",
|
|
"vue": "^3.5.13"
|
|
},
|
|
"devDependencies": {
|
|
"@tauri-apps/cli": "^2",
|
|
"@vitejs/plugin-vue": "^5.2.1",
|
|
"typescript": "~5.6.2",
|
|
"vite": "^6.0.3",
|
|
"vue-tsc": "^2.1.10"
|
|
}
|
|
}
|