tauri: [bug] Tauri 2.0 cannot run on Windows 7 SP1(x86 or x64)
Describe the bug
The compiled result of Tauri 2.0 does not run on Windows 7 SP1.
Reproduction
Run pnpm create tauri-app
Expected behavior
It is expected to run normally. I also want to know if Tauri 2.0 supports Windows 7. Globally, Windows 7 still has a 3% market share, and in some regions like China, the share is as high as 20%. This is a significant proportion.
Full tauri info output
[✔] Environment
- OS: Windows 6.3.9600 i386 (X32)
✔ WebView2: 109.0.1518.78
✔ MSVC: Visual Studio Professional 2017
✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
✔ cargo: 1.77.2 (e52e36006 2024-03-26)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: 1.77.2-i686-pc-windows-msvc (default)
- node: 22.9.0
- pnpm: 9.12.1
- npm: 10.8.3
[-] Packages
- tauri 🦀: 2.0.3
- tauri-build 🦀: 2.0.1
- wry 🦀: 0.46.1
- tao 🦀: 0.30.3
- @tauri-apps/api : not installed!
- @tauri-apps/cli : 2.0.3
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.1
- @tauri-apps/plugin-shell : not installed!
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../src
Stack trace
No response
Additional context
I compiled on both Windows 8 x86 and x64 environments, and tested on Windows 7, but it still could not run.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 24 (5 by maintainers)
我重新进行了尝试,因为我是rust 小白,我发现我在打包的时候 rust并没有使用兼容wind7的版本,虽然我在项目当中的 cargo.toml 文件进行了声明
rust-version版本,但不知道哪里出来问题,现在我使用命令在系统中切换了rust 版本,现在成功运行了