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

Configurable app path #15

Open
TimPietrusky opened this issue Jun 8, 2020 · 0 comments
Open

Configurable app path #15

TimPietrusky opened this issue Jun 8, 2020 · 0 comments

Comments

@TimPietrusky
Copy link
Member

TimPietrusky commented Jun 8, 2020

In order to use multiple modV's together on the same computer (like modV2 and modV3), it would be nice to configure the app path, as currenlty it will always be modV.

The only solution right now is to change it directly in ./node_modules/modv-media-manager/lib/index.js#63:

  get dataPath() { //eslint-disable-line
    // Change the name "modV" to whatever you want, e.g. myawesomefolder
    return path.join(ospath.data(), 'modV');
  }

And then you have to change the options.json that is inside the modV folder (or what ever you renamed it to), to also point to the new name:

{"mediaDirectoryPath":"C:\\Users\\jonex\\AppData\\Roaming\\<myawesomefolder>\\media"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant