diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-08-04 20:25:00 +0400 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-08-04 20:25:00 +0400 |
commit | 07a1959bad3d024d79b10a98c306a6bb4385b5df (patch) | |
tree | 9ae10f8d342c98bb887c1e6cc98a301f78bbd11e | |
parent | 9d31234ca1882f58c6046e8f6897a39a77b1e6a7 (diff) | |
download | traccar-server-07a1959bad3d024d79b10a98c306a6bb4385b5df.tar.gz traccar-server-07a1959bad3d024d79b10a98c306a6bb4385b5df.tar.bz2 traccar-server-07a1959bad3d024d79b10a98c306a6bb4385b5df.zip |
Fix setup scripts
-rwxr-xr-x | setup/linux/traccar.sh | 2 | ||||
-rw-r--r-- | setup/windows/traccar.iss | 2 |
2 files changed, 2 insertions, 2 deletions
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/<YourMainClass>/Main/g' out/conf/wrapper.conf +sed -i 's/<YourMainClass>/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, '<YourMainClass>', 'Main', true);
+ StringChangeEx(S, '<YourMainClass>', 'org.traccar.Main', true);
StringChangeEx(S, '@app.name@', 'Traccar', true);
StringChangeEx(S, '@app.long.name@', 'Traccar', true);
StringChangeEx(S, '@app.description@', 'Traccar', true);
|