Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added MultiProfile via CommandLine parameter #667

Merged
merged 2 commits into from
Jul 26, 2016
Merged

Added MultiProfile via CommandLine parameter #667

merged 2 commits into from
Jul 26, 2016

Conversation

5andr0
Copy link
Contributor

@5andr0 5andr0 commented Jul 26, 2016

cli.exe <Profile>
if no parameter is given, the standard paths are beeing used.
if Profile is set, it will use configs/logs from _CurrentDir<Profile>_
Gpx files are always loaded from the CurrentDir (Root directory where the exe is started from)
Any path specific functions should use GlobalSettings.ProfilePath and
GlobalSettings.ConfigPath from now on

5andr0 added 2 commits July 26, 2016 20:43
cli.exe <Profile>
if no parameter is given, the standard paths are beeing used.
if Profile is set, it will use configs/logs from CurrentDir\<Profile>\
any path specific functions should use GlobalSettings.ProfilePath and
GlobalSettings.ConfigPath
@NecronomiconCoding NecronomiconCoding merged commit d3c9c31 into NecronomiconCoding:master Jul 26, 2016
@@ -100,7 +100,6 @@ public static GlobalSettings Load(string path)
{
settings = new GlobalSettings();
}
Logger.Write($"nigger {fullPath} {ConfigPath} {ProfilePath}");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a debug output. Sorry for the n word, not racist ;) I've been using this for ages to mark my debug outputs

@sub7even
Copy link

ProfilePath is not working for auth.json
Only config.json is loaded from CurrentDir\Config
The function AuthSettings() still checks for auth.json from CurrentDir\Config (without Profile)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants