Skip to content

Add env to configure default viame path#565

Merged
subdavis merged 5 commits into
masterfrom
client/560
Feb 6, 2021
Merged

Add env to configure default viame path#565
subdavis merged 5 commits into
masterfrom
client/560

Conversation

@subdavis
Copy link
Copy Markdown
Contributor

@subdavis subdavis commented Feb 5, 2021

Setting DIVE_VIAME_INSTALL_PATH on all platforms will override the platform default.

If a user sets the value themselves on the settings page, the environment var will be ignored.

fixes #560

@subdavis subdavis requested a review from BryonLewis February 5, 2021 20:55
Copy link
Copy Markdown
Collaborator

@BryonLewis BryonLewis left a comment

Choose a reason for hiding this comment

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

haven't pulled but won't this reset itself on each launch? Meaning you're locked into your env variable location and have to reset it each time you launch the app if you want to use a different version or something else. Should changing the install location reset the env variable?

@subdavis
Copy link
Copy Markdown
Contributor Author

subdavis commented Feb 5, 2021

haven't pulled but won't this reset itself on each launch?

I don't think so, but I'm not sure what you're asking. If a user sets their install path through the GUI, the default, and therefor the environment variable, will be totally ignored.

Basically, the env var works up until the point where the user hits the settings save button, then it's ignored forever.

@subdavis subdavis merged commit 6e08ac3 into master Feb 6, 2021
@subdavis subdavis deleted the client/560 branch February 6, 2021 00:13
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.

[FEATURE] Need way to pass in VIAME installation dir on command line to launcher in Desktop

2 participants