Closed lockieluke closed 5 months ago
I have the same exact issue
[✔] Environment
- OS: Mac OS 14.2.1 X64
✔ Xcode Command Line Tools: installed
✔ rustc: 1.77.0 (aedd173a2 2024-03-17)
✔ cargo: 1.77.0 (3fe68eabf 2024-02-29)
✔ rustup: 1.27.0 (bbb9276d2 2024-03-08)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 20.5.1
- npm: 9.8.0
[-] Packages
- tauri [RUST]: 1.6.1
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.8
- @tauri-apps/api [NPM]: 1.5.3
- @tauri-apps/cli [NPM]: 1.5.11
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1420/
- framework: React
- bundler: Vite
My resources config looks like this
{
"tauri": {
"bundle": {
"resources": ["resources/*"]
}
}
}
Describe the bug
Additional resource files embedded in a subdirectory like
resources/**
don't have their paths escaped correctly for Windows when building on macOStauri.windows.conf.json:
Installation, despite having a
resources
directory created, files aren't moved into it properly:Reproduction
https://github.com/lockieluke/sonoff-homekit-flasher
Follow README to build for Windows on macOS and install using the NSIS installer on a Windows machine
Expected behavior
Files should be placed within
resources
instead of havingresources
prepended to their filenamesFull
tauri info
output