Hidpi fix (#297)

* Add global error handler for runtime

* Set DPI Aware on windows
This commit is contained in:
Lea Anthony
2019-11-27 22:22:10 +11:00
committed by GitHub
parent daeda501f4
commit aca72d3f7a
5 changed files with 34 additions and 2 deletions

View File

@@ -44,6 +44,7 @@ func runCommand(command string, args ...string) {
cmd := exec.Command(command, args...)
output, err := cmd.CombinedOutput()
if err != nil {
log.Println(string(output))
log.Fatal(err)
}
cmd.Run()