mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 14:23:44 -07:00
Adds a check for "OneDrive" in the execution path to the startup errors that prevent running.
This commit is contained in:
parent
081f82875a
commit
5545b2a5d9
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