Skip to content

Commit dd42366

Browse files
committed
Updates for working build on Windows
1 parent 4041894 commit dd42366

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed
141 Bytes
Binary file not shown.

conf/Version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Mon, 06 Oct 2014 15:34:39 -0500
1+
#Thu, 09 Oct 2014 11:59:04 -0500
22

33
version=1.2.7
44
copyrightYear=2014

installer/installer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</authors>
3030
<javaversion>1.7</javaversion>
3131
<version>1.2.7</version>
32-
<run-privileged condition="izpack.windowsinstall.vista|izpack.windowsinstall.7"/>
32+
<run-privileged/>
3333
</info>
3434

3535
<guiprefs height="600" resizable="yes" width="800">

installer/run.cmd

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ setlocal
33

44
cd /d "%~dp0"
55

6+
setlocal EnableDelayedExpansion
7+
for /L %%n in (1 1 500) do if "!__cd__:~%%n,1!" neq "" set /a "len=%%n+1"
8+
setlocal DisableDelayedExpansion
9+
610
set CP=.
7-
for /r ./lib %%V IN (*.jar) DO call :pathmunge "%%V"
11+
for /r ./lib %%V IN (*.jar) DO call :jarmunge "%%V"
812
call :pathmunge .\resources
913
call :pathmunge .\conf
1014

@@ -15,3 +19,11 @@ goto :eof
1519

1620
:pathmunge
1721
set CP=%CP%;%1
22+
goto :eof
23+
24+
:jarmunge
25+
set absPath=%1
26+
setlocal EnableDelayedExpansion
27+
set "relPath=!absPath:~%len%!"
28+
set path=".!relPath!
29+
endlocal & set CP=%CP%;%path%

0 commit comments

Comments
 (0)