aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorwilliamchitto <williamchitto@gmail.com>2012-08-06 11:41:33 -0300
committerwilliamchitto <williamchitto@gmail.com>2012-08-06 11:41:33 -0300
commit8524c56fafb4a9da0a3c33f972b134e8c50c8489 (patch)
tree68828cc57a74fb94672a4879f4397ac5e678d094 /setup
parent5a80591e29ee7b05ed50737e3d5d6bb98c1f59a3 (diff)
parent07a1959bad3d024d79b10a98c306a6bb4385b5df (diff)
downloadtrackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.gz
trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.tar.bz2
trackermap-server-8524c56fafb4a9da0a3c33f972b134e8c50c8489.zip
Repo merged with upstream
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/linux/traccar.sh2
-rw-r--r--setup/windows/traccar.iss2
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);