-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLibSetup.ahk
18 lines (15 loc) · 1.11 KB
/
LibSetup.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; ----------------------------------------------------------------------------------------------------------------------
; Name .........: LibSetup
; Description ..: Generic lib retrieval tool.
; AHK Version ..: AHK_L 1.1.13.01 x32/64 Unicode
; Author .......: Cyruz - http://ciroprincipe.info
; ----------------------------------------------------------------------------------------------------------------------
; ===[ LIB VARIABLES ]==================================================================================================
LIB_URL_1 = https://raw.githubusercontent.com/cyruz-git/ahk-libs/master/BinGet.ahk
LIB_URL_2 = https://raw.githubusercontent.com/cyruz-git/ahk-libs/master/PECreateEmpty.ahk
LIB_URL_3 = https://raw.githubusercontent.com/cyruz-git/ahk-libs/master/UpdRes.ahk
; ======================================================================================================================
If ( !InStr(FileExist(A_ScriptDir "\lib"), "D") )
FileCreateDir, %A_ScriptDir%\lib
While ( (liburl := LIB_URL_%A_Index%) )
UrlDownloadToFile, %liburl%, % A_ScriptDir "\lib\" RegExReplace(liburl, "S).*\/")