Open fanchenio opened 1 year ago
toml
[package] name = "dawn-launcher" version = "0.0.0" description = "A Tauri App" authors = ["you"] license = "" repository = "" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [build-dependencies] tauri-build = { version = "2.0.0-alpha.8", features = [] } [dependencies] tauri = { version = "2.0.0-alpha", features = [] } tauri-plugin-window = "2.0.0-alpha" tauri-plugin-dialog = "2.0.0-alpha" tauri-plugin-clipboard-manager = "2.0.0-alpha" tauri-plugin-shell = "2.0.0-alpha" tauri-plugin-http = "2.0.0-alpha" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" rusqlite = { version = "0.29.0", features = ["bundled"] } image = "0.24.6" base64 = "0.21.2" xml-rs = "0.8.16" pathdiff = "0.2.1" path-absolutize = "3.1.0" [dependencies.windows] version = "0.48" features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_System_Com", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", "Win32_Storage_FileSystem", "Win32_System_SystemInformation", ] [features] # this feature is used for production builds or when `devPath` points to the filesystem # DO NOT REMOVE!! custom-protocol = ["tauri/custom-protocol"]
tauri.conf.json
{ "build": { "beforeBuildCommand": "pnpm build", "beforeDevCommand": "pnpm dev", "devPath": "http://localhost:1420", "distDir": "../dist", "withGlobalTauri": true }, "package": { "productName": "dawn-launcher", "version": "0.0.0" }, "plugins": { "http": { "scope": [ "https://*/", "http://*/" ] }, "shell": { "open": true } }, "tauri": { "bundle": { "active": true, "icon": [ "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico" ], "identifier": "com.tauri.dev", "targets": "all" }, "security": { "csp": null }, "windows": [ { "decorations": false, "fileDropEnabled": true, "fullscreen": false, "height": 600, "label": "main", "resizable": true, "title": "dawn-launcher", "url": "/", "visible": true, "width": 800 } ] } }
package.json
{ "name": "dawn-launcher", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vue-tsc --noEmit && vite build", "preview": "vite preview", "tauri": "tauri" }, "dependencies": { "@tauri-apps/api": "^2.0.0-alpha", "@tauri-apps/plugin-dialog": "^2.0.0-alpha", "@tauri-apps/plugin-http": "^2.0.0-alpha", "@tauri-apps/plugin-shell": "^2.0.0-alpha", "@tauri-apps/plugin-window": "^2.0.0-alpha", "@tauri-apps/plugin-clipboard-manager": "^2.0.0-alpha", "@types/dompurify": "^3.0.2", "@types/mime": "^3.0.1", "@types/sortablejs": "^1.15.1", "cheerio": "1.0.0-rc.12", "dompurify": "^3.0.5", "mime": "^3.0.0", "path-browserify": "^1.0.1", "pinia": "^2.1.6", "pinyin-match": "^1.2.4", "sortablejs": "^1.15.0", "vue": "^3.3.4", "vue-router": "4" }, "devDependencies": { "@tauri-apps/cli": "^2.0.0-alpha", "@types/node": "^20.4.2", "@vicons/material": "^0.12.0", "@vicons/utils": "^0.1.4", "@vitejs/plugin-vue": "^4.2.3", "autoprefixer": "^10.4.14", "less": "^4.1.3", "less-loader": "^11.1.3", "naive-ui": "^2.34.4", "postcss": "^8.4.26", "tailwindcss": "^3.3.3", "typescript": "^5.0.2", "vite": "^4.4.4", "vue-tsc": "^1.8.5" } }
This will also happen when using import { message, open } from "@tauri-apps/plugin-dialog"; use open method
No response
[✔] Environment - OS: Windows 10.0.19045 X64 ✔ WebView2: 116.0.1938.62 ✔ MSVC: Visual Studio Community 2022 ✔ rustc: 1.70.0 (90c541806 2023-05-31) ✔ Cargo: 1.70.0 (ec8a8a0ca 2023-04-25) ✔ rustup: 1.26.0 (5af9b9484 2023-04-05) ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default) - node: 16.17.0 - pnpm: 8.6.9 - yarn: 1.22.19 - npm: 8.7.0 [-] Packages - tauri [RUST]: 2.0.0-alpha.11 - tauri-build [RUST]: 2.0.0-alpha.8 - wry [RUST]: 0.31.1 - tao [RUST]: 0.22.2 - @tauri-apps/api [NPM]: 2.0.0-alpha.6 - @tauri-apps/cli [NPM]: 2.0.0-alpha.11 [-] App - build-type: bundle - CSP: unset - distDir: ../dist - devPath: http://localhost:1420/ - framework: Vue.js - bundler: Vite
I tried it, and the project created using the latest pnpm create tauri-app --alpha will not respond when opening the developer tools.
Describe the bug
toml
tauri.conf.json
package.json
This will also happen when using import { message, open } from "@tauri-apps/plugin-dialog"; use open method
Reproduction
No response
Expected behavior
No response
Platform and versions
Stack trace
No response
Additional context
No response