aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/package.sh2
-rw-r--r--setup/windows/traccar.iss2
2 files changed, 4 insertions, 0 deletions
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;