summaryrefslogtreecommitdiff
path: root/src/shared/appconfig.inc
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-09-11 11:45:32 -0500
committerLostDragonist <lost.dragonist@gmail.com>2019-09-11 11:45:32 -0500
commit4d9c1db885bd3ab230440b25e70dcd8049cf4650 (patch)
tree06ed754185e3b1dbbfe09563ca4a0499cc5aace7 /src/shared/appconfig.inc
parent99fdbb2539227cec4fab534efc7420cfc5ca1a92 (diff)
Add portable lock feature
If the file "portable.txt" is present in the application directory, MO will force itself to be launched as a portable instance. The change game button and menu item are hidden to prevent the user from changing out of the portable instance.
Diffstat (limited to 'src/shared/appconfig.inc')
-rw-r--r--src/shared/appconfig.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/appconfig.inc b/src/shared/appconfig.inc
index e572a32b..709c845d 100644
--- a/src/shared/appconfig.inc
+++ b/src/shared/appconfig.inc
@@ -17,6 +17,7 @@ APPPARAM(std::wstring, proxyDLLOrig, L"steam_api_orig.dll") // needs to be ident
APPPARAM(std::wstring, proxyDLLSource, L"proxy.dll")
APPPARAM(std::wstring, vfs32DLLName, L"usvfs_x86.dll")
APPPARAM(std::wstring, vfs64DLLName, L"usvfs_x64.dll")
+APPPARAM(std::wstring, portableLockFileName, L"portable.txt")
APPPARAM(const wchar_t*, localSavePlaceholder, L"__MOProfileSave__\\")
APPPARAM(std::wstring, firstStepsTutorial, L"tutorial_firststeps_main.js")