Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win: improve script environment robustness #221
This commit ensures the script functions as expected, even when invoked from unexpected environments. Using `setlocal` initializes a distinct environment for privacy.sexy. It's strategically placed after the admin privilege check to avoid unnecessary setup in case of a relaunch. The script concludes with `endlocal` right before the exit, maintaining a clean environment throughout its execution and ensuring no unintentional global environment modifications. Changes: - Enhance script's environment robustness. - Add descriptive comments for script start/end sequences.
- Loading branch information