Grasscutters / Cultivation

A custom launcher designed to make it as easy as possible to proxy anime game traffic to private servers.
Apache License 2.0
974 stars 160 forks source link

Crashes when cancelling UAC on game launch #26

Closed 4Benj closed 2 years ago

4Benj commented 2 years ago

Cultivation crashes when you click Launch and hit No when UAC asks if "CertainAnimeGame.exe" wants to make changes to your device. I'm pretty sure this worked before and I've noticed that system_helpers::run_program was changed in PR #20 which was merged in with commit 0b2296f9184061e63f289115d65a9713f8fe4328.

Debug Information:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 1223, kind: Uncategorized, message: "The operation was canceled by the user." }', src\system_helpers.rs:6:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\debug\cultivation.exe` (exit code: 101)0. Error = 0
error Command failed with exit code 4294967295.
SpikeHD commented 2 years ago

Should be fixed in 33c67ee