Closed MrOplus closed 3 years ago
fix following errors on windows: panic: open debug.log: The system cannot find the file specified. panic: open error.log: The system cannot find the file specified.
Hello! Thank you for bug report and pull request!
But according to https://stackoverflow.com/a/18537419, it's better to use os.Executable. Can you update that, please?
changed args[0] to os.executable()
fix following errors on windows: panic: open debug.log: The system cannot find the file specified. panic: open error.log: The system cannot find the file specified.