1
0
mirror of https://github.com/heebijeebi/WinTango-Patcher.git synced 2024-06-22 05:21:56 +02:00
This commit is contained in:
heebijeebi
2016-12-08 10:10:48 +01:00
parent f17a5bcb0f
commit 054def11c3
20 changed files with 190 additions and 251 deletions

View File

@@ -92,6 +92,15 @@ Func InstallFont($sSourceFile, $sFontDescript="", $sFontsPath="")
EndFunc
;7Zip extract
Func ExtractArchive($sArchive, $sOutputDir)
If FileExists($sArchive) Then
RunWait($ToolsDir & '\7z.exe x -y "' & $sArchive & '" -o"' & $sOutputDir & '"', @ScriptDir ,@SW_HIDE)
Else
;Some kind of Errorchecking needed?
EndIf
EndFunc
;Write Debug File
Func Debug($Text)
$DebugFileName = @ScriptDir & "\" & $Modus & ".log"