Closed ktwrd closed 3 months ago
I'll have a looky
I can't see anything inherently wrong with the modifications, but do make sure to test (and not do a crowdstrike).
Looks good, pls test (including edge cases).
I tested it on W10 (w/ OF in the default sourcemod folder) last night, but I'll check it on my Debian install and my Steam Deck tonight.
Tested on my windows install. Need to rebase from develop since #30 was merged.
This PR adds an
uninstall
CLI sub-command and wizard option for uninstalling the target game. Before deleting the sourcemod mod folder, it will check if all of the following conditions are met;RunnerContext.current_version.is_some()
)crate::helper::is_game_running
wheremod_directory
is fromRunnerContext.get_mod_location()
)If any of those conditions are not met, an error will be returned and will not allowed the user to uninstall the game (if it is even installed).