Problem
After upgrading dioxus-cli from 0.7.3 to 0.7.4, it cannot bundle the app on Windows.
It terminates after the following outpus without any errors:
56.73s INFO Compiled [470/476]: dioxus
56.81s INFO Compiled [471/476]: webview2_com
65.87s INFO Compiled [472/476]: dioxus_desktop
68.29s INFO Compiled [473/476]: zino
68.53s INFO Compiled [474/476]: dioxus_free_icons
71.93s INFO Compiled [475/476]: zino_dioxus
94.81s INFO Compiled [476/476]: dioxus-app
94.86s INFO Bundling app...
97.05s INFO Running package bundler...
97.05s INFO Copying bundles to output directory: D:\code\git\github\zino\examples\dioxus-desktop\dist
Here is the Dioxus.toml:
[application]
name = "DataCube"
out_dir = "dist"
[web.app]
title = "DataCube"
[web.watcher]
reload_html = true
watch_path = ["src", "public"]
index_on_404 = true
[web.resource]
style = [
"public/css/bulma.min.css",
"public/css/custom.css",
]
script = []
[web.resource.dev]
style = []
script = []
[bundle]
identifier = "zino"
publisher = "zino-rs"
icon = [
"public/icons/32x32.png",
"public/icons/128x128.png",
"public/icons/128x128@2x.png",
"public/icons/icon.ico",
]
resources = ["./config", "./public"]
[bundle.windows]
tsp = true
icon_path = "public/icons/icon.ico"
webview_install_mode = "Skip"
allow_downgrades = false
[bundle.windows.nsis]
installer_icon = "public/icons/icon.ico"
install_mode = "CurrentUser"
languages = ["SimpChinese", "TradChinese", "English"]
display_language_selector = true
Steps To Reproduce
Steps to reproduce the behavior:
- Install the latest with
cargo binstall dioxus-cli --force
- Run
dx bundle --desktop --release
Expected behavior
It should generate a .msi and .exe.
Screenshots
Environment:
- Dioxus version: 0.7.4
- Rust version: 1.95
- OS info: Windows
- App platform: desktop
Questionnaire
I'm interested in fixing this myself but don't know where to start.
Problem
After upgrading dioxus-cli from 0.7.3 to 0.7.4, it cannot bundle the app on Windows.
It terminates after the following outpus without any errors:
Here is the
Dioxus.toml:Steps To Reproduce
Steps to reproduce the behavior:
cargo binstall dioxus-cli --forcedx bundle --desktop --releaseExpected behavior
It should generate a
.msiand.exe.Screenshots
Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.