diff --git a/LatestVersion.ini b/LatestVersion.ini index 173fae0..57f47a6 100644 --- a/LatestVersion.ini +++ b/LatestVersion.ini @@ -1,4 +1,4 @@ [Updater] -MainApp=16.01.07 -URL=Zippyshare -URL2=https://github.com/heebijeebi/WinTango-Patcher/releases/download/v16.01.07/WinTango-Patcher-16.01.07-offline.exe +MainApp=16.12.24 +URL=http://www73.zippyshare.com/d/swSe3xxr/2685622/WinTango-Patcher-16.12.24-offline.exe +URL2=https://github.com/heebijeebi/WinTango-Patcher/releases/download/v16.12.24/WinTango-Patcher-16.12.24-offline.exe diff --git a/project/_TEST DL.au3 b/project/_TEST DL.au3 new file mode 100644 index 0000000..954eba3 --- /dev/null +++ b/project/_TEST DL.au3 @@ -0,0 +1,42 @@ +#Include +#include +#include +#include +#include +#include +#include +;custom +#include <_UDFs\CommonFunctions.au3> +#include +#include +#include + +#NoTrayIcon +#AutoIt3Wrapper_Res_requestedExecutionLevel=requireAdministrator ;Permissions + +Defines() ;Global Standards +$AppTitle = $AppName & " Updater" +$AppVersionInst = RegRead($AppRegKey, "Version") +$AppVersionLatest = "" +_Strings_Updater() ;localized Strings + + + +;Create GUI +$MainGUI = GUICreate($AppTitle, 491, 163, -1, -1) +$icoLogo = GUICtrlCreateIcon($IconsDir & "\header_480x80.ico", -1, 5, 5, 480, 80) +$lblCurrent = GUICtrlCreateLabel("", 12, 88, 466, 17) +Global $prgbarUpdate = GUICtrlCreateProgress(12, 112, 466, 17) +$lblOverall = GUICtrlCreateLabel("", 12, 136, 466, 17, $SS_RIGHT) +GUISetState(@SW_SHOW) + + +;Download +GUICtrlSetData($lblCurrent, $string_msgDownloading) + + +$sUrl = "http://www73.zippyshare.com/d/swSe3xxr/2685622/WinTango-Patcher-16.12.24-offline.exe" +$sDest = @TempDir & "\" & StringReplace($AppName, " ", "-") & "-LATEST.exe" +_DownloadLatestVersion($sUrl, $sDest) + +GUICtrlSetData($lblOverall, $string_msgDownloadDone)