You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy settings and scenarios when first using a new release. (#101)
When first using a new version of Bridge Command (for example moving from 5.10 to 5.11), this will ask the user if they want to copy their existing settings and scenarios. When this has been done, any new scenarios (present in the installation but not in the user's folder) are copied in, and the same is done with any new settings.
This is only carried out if the user folder for the previous version is available (so in this case 5.10->5.11).
std::string getUserDirBase(); //Returns the directory path (absolute, with trailing slash) for a user read/writable directory, the first level folder in the user's filesystem (eg %appdata%/Bridge Command/ on windows)
49
49
std::string getUserDir(); //Returns the directory path (absolute, with trailing slash) for a user read/writable directory (eg %appdata%/Bridge Command/VERSIONUMBER/ on windows)
50
+
std::string getPrevUserDir(); // Returns the same a getUserDir, but for the previous program version
50
51
boolpathExists(std::string filePath);
51
52
intcopyDir(std::string source, std::string dest);
52
53
ScenarioData getScenarioDataFromFile(std::string scenarioPath, std::string scenarioName); //Read a scenario from ini files
0 commit comments