diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-10-22 11:41:46 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-10-22 11:41:46 +0800 |
| commit | 80e7d54b419b591a0dbb2a86a413e29f87c7e17e (patch) | |
| tree | ebf7fbcd3ef2ab3c5d2cd189a31dc6c5b8082dd6 /indra/llfilesystem/lldir_mac.cpp | |
| parent | dc3524d24ae63c1024c094b67fb13f41f49d5637 (diff) | |
| parent | d567465ea17a2523b200fbf6213adaacfccd23da (diff) | |
Merge tag 'Second_Life_Release#d567465e-26.5' into 26.5
Diffstat (limited to 'indra/llfilesystem/lldir_mac.cpp')
| -rw-r--r-- | indra/llfilesystem/lldir_mac.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/llfilesystem/lldir_mac.cpp b/indra/llfilesystem/lldir_mac.cpp index 906894868e..44ef2feefe 100644 --- a/indra/llfilesystem/lldir_mac.cpp +++ b/indra/llfilesystem/lldir_mac.cpp @@ -163,9 +163,8 @@ LLDir_Mac::LLDir_Mac() // viewer is unaffected.if (!is_dmg && !is_translocated && !is_applications_install && !install_root.empty()) // macos doesn't have the .portable marker , but check it just in case. + // Todo: fix this, portable installs should have a marker file. bool is_portable = isPortableInstall(install_root); - // For a velopack build, assume that running nor from a dmg means 'portable'. - is_portable |= !is_dmg && !is_translocated && !is_applications_install && !install_root.empty(); if (is_portable) { @@ -213,6 +212,10 @@ LLDir_Mac::LLDir_Mac() mRunContextDescription = "Portable (extracted archive, " + install_root + ")"; } #endif // LL_VELOPACK + else if (!is_dmg && !is_translocated && !is_applications_install && !install_root.empty()) + { + mRunContextDescription = "Running from a non-standard folder (" + install_root + ")"; + } else if (!install_root.empty()) { // Bundle is present on local disk, intact, and not translocated |
