From 07a1959bad3d024d79b10a98c306a6bb4385b5df Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 4 Aug 2012 20:25:00 +0400 Subject: Fix setup scripts --- setup/linux/traccar.sh | 2 +- setup/windows/traccar.iss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'setup') diff --git a/setup/linux/traccar.sh b/setup/linux/traccar.sh index 073aca144..45e638b31 100755 --- a/setup/linux/traccar.sh +++ b/setup/linux/traccar.sh @@ -28,7 +28,7 @@ sed -i 's/@app.long.name@/traccar/g' out/bin/traccar sed -i '/wrapper.java.classpath.1/i\wrapper.java.classpath.2=../tracker-server.jar' out/conf/wrapper.conf sed -i "/wrapper.app.parameter.1/i\wrapper.app.parameter.2=$app/conf/linux.cfg" out/conf/wrapper.conf -sed -i 's//Main/g' out/conf/wrapper.conf +sed -i 's//org.traccar.Main/g' out/conf/wrapper.conf sed -i 's/@app.name@/traccar/g' out/conf/wrapper.conf sed -i 's/@app.long.name@/traccar/g' out/conf/wrapper.conf sed -i 's/@app.description@/traccar/g' out/conf/wrapper.conf diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss index 293b0db45..9aad6cf8b 100644 --- a/setup/windows/traccar.iss +++ b/setup/windows/traccar.iss @@ -51,7 +51,7 @@ begin LoadStringFromFile(ExpandConstant(CurrentFileName), S); Insert('wrapper.java.classpath.2=../tracker-server.jar' + #13#10, S, Pos('wrapper.java.classpath.1', S)); Insert(ExpandConstant('wrapper.app.parameter.2="{app}\conf\windows.cfg"') + #13#10, S, Pos('wrapper.app.parameter.1', S)); - StringChangeEx(S, '', 'Main', true); + StringChangeEx(S, '', 'org.traccar.Main', true); StringChangeEx(S, '@app.name@', 'Traccar', true); StringChangeEx(S, '@app.long.name@', 'Traccar', true); StringChangeEx(S, '@app.description@', 'Traccar', true); -- cgit v1.2.3