Fix: Installationspfad der setenv.bat wird im ioconverter.bat auch überschrieben
This commit is contained in:
@@ -14,11 +14,12 @@ set ICON2=%PROJECT_DOC%\img\Icons\Icon_portal.ico
|
||||
|
||||
REM ersetze die Zeile mit setenv.bat durch die mit dem neuen Pfad
|
||||
powershell -Command "(Get-Content getexdraw.bat) -replace '^.*setenv.bat$', 'call %PROJECT_BIN%\setenv.bat' | Set-Content getexdraw.bat"
|
||||
powershell -Command "(Get-Content ioconverter.bat) -replace '^.*setenv.bat$', 'call %PROJECT_BIN%\setenv.bat' | Set-Content ioconverter.bat"
|
||||
|
||||
REM Icon1 anlegen
|
||||
powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT1%');$s.TargetPath='%TARGET1%';$s.IconLocation='%ICON1%';$s.Save()"
|
||||
explorer.exe %INSTALL_DIR%
|
||||
|
||||
REM Icon2 anlegen
|
||||
powershell -Command "$s=(New-Object -COM WScript.Shell).CreateShortcut('%SHORTCUT2%');$s.TargetPath='%TARGET2%';$s.IconLocation='%ICON2%';$s.Save()"
|
||||
|
||||
REM Öffne den Ordner damit man sieht ob es geklappt hat
|
||||
explorer.exe %INSTALL_DIR%
|
||||
|
||||
Reference in New Issue
Block a user