-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from flcdrg/unifi
- Loading branch information
Showing
3 changed files
with
32 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
WinWait, UniFi Uninstall,,20 | ||
IfNotEqual, ErrorLevel, 0, exit 1 | ||
ControlSend,, !y, UniFi Uninstall | ||
#Requires AutoHotkey 2 | ||
if WinWait("UniFi Network Server Uninstall", , 30) | ||
ControlSend "!y", "Button1", "UniFi Network Server Uninstall" | ||
else | ||
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
#Requires AutoHotkey 2 | ||
; Do you want to upgrade your UniFi 5.3.8 to 5.4.9? | ||
WinWait, UniFi Network application Setup,,90 | ||
IfNotEqual, ErrorLevel, 0, exit 0 | ||
ControlSend,, !y, UniFi Network application Setup | ||
WinWaitClose | ||
; It is recommended that you create a backup before installing a new version. Do you have a backup? | ||
WinWait, UniFi Network application Setup,,90 | ||
IfNotEqual, ErrorLevel, 0, exit 0 | ||
ControlSend,, !y, UniFi Network application Setup | ||
WinWaitClose | ||
if WinWait("UniFi Network Server Setup", , 90) { | ||
ControlSend "{Enter}", "Button1", "UniFi Network Server Setup" | ||
WinWaitClose() | ||
; It is recommended that you create a backup before installing a new version. Do you have a backup? | ||
if WinWait("UniFi Network Server Setup", , 90) { | ||
ControlSend "{Enter}", "Button1", "UniFi Network Server Setup" | ||
WinWaitClose() | ||
} else { | ||
exit 0 | ||
} | ||
} else { | ||
exit 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters