modmii.github.io/Support/subscripts/TMCL_Portable_Fix.bat

11 lines
528 B
Batchfile
Raw Normal View History

2023-03-10 02:37:08 +01:00
::Portable ModMii Installation fix
set "ModMiiDir=%cd%"
if /i "%Homedrive%" EQU "%ModMiiDrive%" goto:skipPortableFix
if not exist "%homedrive%\ModMii\temp" mkdir "%homedrive%\ModMii\temp"
copy /y "temp\TMCL.exe" "%homedrive%\ModMii\temp\TMCL.exe">nul
copy /y "temp\ASH.exe" "%homedrive%\ModMii\temp\ASH.exe">nul
copy /y "temp\ICSharpCode.SharpZipLib.dll" "%homedrive%\ModMii\temp\ICSharpCode.SharpZipLib.dll">nul
copy /y "temp\themewii.exe" "%homedrive%\ModMii\temp\themewii.exe">nul
cd /d "%homedrive%\ModMii"
:skipPortableFix