From 4b089ae73f6d8c3308e6648fc3a0eb6f4c6767c2 Mon Sep 17 00:00:00 2001 From: Mrchiantos <51173452+Mrchiantos@users.noreply.github.com> Date: Mon, 22 Jul 2019 02:39:34 +0200 Subject: [PATCH] run in place --- build/WindowsApp/buildwin32.sh | 2 +- build/WindowsApp/buildwin64.sh | 2 +- build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj | 4 ++-- doc/lua_api.txt | 6 +++++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build/WindowsApp/buildwin32.sh b/build/WindowsApp/buildwin32.sh index 2ebce3838..c79a5164a 100644 --- a/build/WindowsApp/buildwin32.sh +++ b/build/WindowsApp/buildwin32.sh @@ -81,7 +81,7 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ - -DRUN_IN_PLACE=1 \ + -DRUN_IN_PLACE=0 \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ diff --git a/build/WindowsApp/buildwin64.sh b/build/WindowsApp/buildwin64.sh index 219562554..0ee87f911 100644 --- a/build/WindowsApp/buildwin64.sh +++ b/build/WindowsApp/buildwin64.sh @@ -81,7 +81,7 @@ cmake .. \ -DCMAKE_INSTALL_PREFIX=/tmp \ -DBUILD_CLIENT=1 -DBUILD_SERVER=0 \ -DCMAKE_TOOLCHAIN_FILE=$toolchain_file \ - -DRUN_IN_PLACE=1 \ + -DRUN_IN_PLACE=0 \ \ -DENABLE_SOUND=1 \ -DENABLE_CURL=1 \ diff --git a/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj b/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj index 8d46637b9..e6b9fa112 100755 --- a/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj +++ b/build/iOS/MultiCraft/MultiCraft.xcodeproj/project.pbxproj @@ -1940,7 +1940,7 @@ GCC_PREPROCESSOR_DEFINITIONS = ( "$(inherited)", __IOS__, - "RUN_IN_PLACE=1", + "RUN_IN_PLACE=0", "USE_GETTEXT=1", "USE_CURL=1", "USE_SOUND=1", @@ -2035,7 +2035,7 @@ "$(inherited)", "NDEBUG=1", __IOS__, - "RUN_IN_PLACE=1", + "RUN_IN_PLACE=0", "USE_GETTEXT=1", "USE_CURL=1", "USE_SOUND=1", diff --git a/doc/lua_api.txt b/doc/lua_api.txt index d7370ff7b..5d169a811 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -30,10 +30,14 @@ the `init.lua` scripts in a shared environment. Paths ----- -* `RUN_IN_PLACE=1` +* `RUN_IN_PLACE=1` (Windows release, local build) * `$path_share` * Linux: `` * Windows: `` +* `RUN_IN_PLACE=0`: (Linux release) + * `$path_share` + * Linux: `/usr/share/minetest` + * Windows: `/minetest-0.4.x` Games -----