You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some environments, the firewall must always be on. This means each executable that wants to connect to the network in any way, must be manually allowed by the user by clicking a button. On some platforms, like "Windows Advanced Firewall", users cannot make any wildcard/regex rules, only exact path rules - so executable names must be predictable.
dioxus-cli version 0.6.3 now randomizes the server binary name by attaching some random text at the end of the file, just before executing it.
Here it is in task manager:
This means:
firewall configurations do not work anymore, as the filename will change every rebuild.
using "Windows Advanced Firewall", the user is bombarded with fullscreen modals like these:
Steps To Reproduce
Steps to reproduce the behavior:
dx --version --> dioxus 0.6.3 (fc1f1c2)
dx new, full stack = yes, platform = web
dx serve --platform web generates different executable name every rebuild
Expected behavior
Execute from the same path every time.
Or, if really necessary, alternate between server.exe and server.exe-1 so the user only clicks "allow" twice. Through the "access denied because program open" windows-specific problem might be better solved by closing the old process before overwriting?
Screenshots
See above
Environment:
Dioxus version: 0.6.3 + 0.6.2
Rust version: 1.87 nightly
OS info: Windows 11
App platform: fullstack web
Questionnaire
Workaround
cargo binstall dioxus-cli@0.6.1 --force -y
The text was updated successfully, but these errors were encountered:
Problem
In some environments, the firewall must always be on. This means each executable that wants to connect to the network in any way, must be manually allowed by the user by clicking a button. On some platforms, like "Windows Advanced Firewall", users cannot make any wildcard/regex rules, only exact path rules - so executable names must be predictable.
dioxus-cli
version 0.6.3 now randomizes the server binary name by attaching some random text at the end of the file, just before executing it.Here it is in task manager:
This means:
Steps To Reproduce
Steps to reproduce the behavior:
dx --version --> dioxus 0.6.3 (fc1f1c2)
dx new
, full stack = yes, platform = webdx serve --platform web
generates different executable name every rebuildExpected behavior
Execute from the same path every time.
Or, if really necessary, alternate between
server.exe
andserver.exe-1
so the user only clicks "allow" twice. Through the "access denied because program open" windows-specific problem might be better solved by closing the old process before overwriting?Screenshots
See above
Environment:
Questionnaire
Workaround
cargo binstall dioxus-cli@0.6.1 --force -y
The text was updated successfully, but these errors were encountered: