mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-21 05:43:42 -07:00
Adds a check for "OneDrive" in the execution path to the startup errors that prevent running. (#5522)
This commit is contained in:
parent
a9fc317a5a
commit
d69a45674f
1 changed files with 7 additions and 0 deletions
|
@ -1145,6 +1145,13 @@ extern "C" void InitOTR() {
|
|||
"Error", "SoH does not have proper file permissions. Please move it to a folder that does and run again.");
|
||||
exit(1);
|
||||
}
|
||||
if (ownPath.string().find("OneDrive") != std::string::npos) {
|
||||
Extractor::ShowErrorBox(
|
||||
"Error",
|
||||
"SoH appears to be in a OneDrive folder, which will cause issues. "
|
||||
"Please move it to a folder outside of OneDrive, like the root of a drive (e.g. \"C:\\Games\\SoH\").");
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if not defined(__SWITCH__) && not defined(__WIIU__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue