diff --git a/tools/build.ahk b/tools/build.ahk index 2f3daf4..4e157af 100644 --- a/tools/build.ahk +++ b/tools/build.ahk @@ -82,7 +82,7 @@ class Logging { compile(source, destination, customIcon, compiler := "C:\Program Files\AutoHotkey\Compiler\Ahk2Exe.exe", compressor := "C:\Program Files\AutoHotkey\Compiler\mpress.exe") { Global _log - useMpress := FileExist(compressor) + useMpress := FileExist(compressor) ? "1" : "0" _log.message("**compile**: Variable set, source -> ``" . source . "``, the file does " . (FileExist(source) ? "" : "**not** ") . "exist.", 5) _log.message("**compile**: Variable set, destination -> ``" . destination . "``, the file does " . (FileExist(destination) ? "" : "**not** ") . "exist.", 5) _log.message("**compile**: Variable set, customIcon -> ``" . customIcon . "``, the file does " . (FileExist(customIcon) ? "" : "**not** ") . "exist.", 5)