Open chucklu opened 4 years ago
Also tried to avoid https://github.com/xkevas24/ZhengHuo/issues/2, it's not perfect, user need to run the powershell script manually for fist time run the program. And user need to modify the hearthstone exe file path in ps1 file.
Mabye I can add a flag FirstRun
in config file with default value true, when the program first start we can run theadvfirewall firewall add
then set FirstRun
to false. Next time we can check the first run flag to avoid add same rule again and again.
1.add ignore 2.refactor code 3.global exception handler