From 87fde1cd1422db34c9fab444a5a596b0bd260f8a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 22 Dec 2015 12:03:25 +1300 Subject: Update installer packaging scripts --- setup/package.sh | 2 ++ setup/windows/traccar.iss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/setup/package.sh b/setup/package.sh index bd6fa6950..8014836bb 100755 --- a/setup/package.sh +++ b/setup/package.sh @@ -114,6 +114,7 @@ package_unix () { cp ../target/tracker-server.jar out cp ../target/lib/* out/lib + cp ../database/* out/data cp -r ../web/* out/web cp unix/traccar.xml out/conf @@ -144,6 +145,7 @@ package_universal () { cp ../target/tracker-server.jar out cp ../target/lib/* out/lib + cp ../database/* out/data cp -r ../web/* out/web cp windows/traccar.xml out/conf cp README.txt out diff --git a/setup/windows/traccar.iss b/setup/windows/traccar.iss index 7a21059ad..a38a27e91 100644 --- a/setup/windows/traccar.iss +++ b/setup/windows/traccar.iss @@ -23,6 +23,7 @@ Source: "..\wrapper\src\conf\wrapper.conf.in"; DestDir: "{app}\conf"; DestName: Source: "..\..\target\tracker-server.jar"; DestDir: "{app}" Source: "..\..\target\lib\*"; DestDir: "{app}\lib" +Source: "..\..\database\*"; DestDir: "{app}\data" Source: "..\..\web\*"; DestDir: "{app}\web"; Flags: recursesubdirs Source: "traccar.xml"; DestDir: "{app}\conf"; AfterInstall: ConfigureApplication @@ -82,5 +83,6 @@ begin StringChangeEx(S, '[WEB]', ExpandConstant('{app}\web'), true); StringChangeEx(S, '[LOG]', ExpandConstant('{app}\logs\tracker-server.log'), true); StringChangeEx(S, '[DATABASE]', ExpandConstant('{app}\data\database'), true); + StringChangeEx(S, '[CHANGELOG]', ExpandConstant('{app}\data\db.changelog-master.xml'), true); SaveStringToFile(ExpandConstant(CurrentFileName), S, false); end; -- cgit v1.2.3