Byron / dua-cli

View disk space usage and delete unwanted data, fast.
https://lib.rs/crates/dua-cli
MIT License
4.17k stars 113 forks source link

dua does not start on windows server 2022 #249

Open fekir opened 4 months ago

fekir commented 4 months ago

Normally executing dua.exe starts analyzing the current folder.

On windows server 2022 (without "Desktop Experience", thus without "explorer.exe"), it seems that the binary does not start.

dua.exe --help and dua.exe --version do not print anything.

On Windows 10 (non-server) dua works correctly.

tested version is current release: dua 2.29.0

fekir commented 4 months ago

image

I've analyzed the dependencies with dependency walker.

It seems that dua depends on vcruntime140.dll which is missing.

Would it be possible to make a portable executable that does not depend on such dll?

Byron commented 4 months ago

That would certainly be possible given someone investing the time it takes to set it up, including a respective CI build.

fekir commented 4 months ago

It seems other projects applied successfully whats written here

https://github.com/rust-lang/rust/issues/100874

Unfortunately I do not have a rust environment right now, so I'm not able to test it.