set flag to replace when library file already exists

pull/105/head
Tommy Pensyl 12 months ago
parent cc40d7132a
commit 1890b277ae

@ -9,13 +9,13 @@ class AutoHotInterception {
if (A_IsCompiled) {
dllFile := A_LineFile "\..\Lib\" bitness "\" dllName
DirCreate("Lib")
FileInstall("Lib\AutoHotInterception.dll", "Lib\AutoHotInterception.dll", 1)
FileInstall("Lib\AutoHotInterception.dll", "Lib\AutoHotInterception.dll")
if (bitness == "x86") {
DirCreate("Lib\x86")
FileInstall("Lib\x86\interception.dll", "Lib\x86\interception.dll", 1)
FileInstall("Lib\x86\interception.dll", "Lib\x86\interception.dll")
} else {
DirCreate("Lib\x64")
FileInstall("Lib\x64\interception.dll", "Lib\x64\interception.dll", 1)
FileInstall("Lib\x64\interception.dll", "Lib\x64\interception.dll")
}
} else {
dllFile := A_LineFile "\..\" bitness "\" dllName

Loading…
Cancel
Save