studiorack / studiorack-app

Audio plugin app, searchable list of plugins to install and share
https://studiorack.github.io/studiorack-site
MIT License
29 stars 0 forks source link

pluginFolder can't be changed #10

Closed derkrasseleo closed 2 years ago

derkrasseleo commented 2 years ago

I set the following directory as my plugin directory: image

Still, studiorack puts all plugins into C:\Program Files (x86)\Common Files\.

When I try to set the path in the cli I don't get an error but the path also doesn't change:

image

derkrasseleo commented 2 years ago

This is probably related to cli, that's why I opened an issue in its repository: https://github.com/studiorack/studiorack-cli/issues/3

kmturley commented 2 years ago

Found the issue. I had two configs:

1) Core library/cli: /Users/username/Library/Preferences/studiorack/config.json

2) Electron app: /Users/username/Library/Application Support/studiorack/config.json

When using the Electron App, it was loading the first time from 1), but then saving/retrieving from 2) afterwards. Then when running the installation, it would run the CLI tool inside Electron as a sub-process which would read for 1)

I have removed the Electron-specific config 2) and default to the shared config 1) In addition I don't run the cli as a sub-process, as that was running different versions of code which made debugging difficult!

This commit fixes this issue: https://github.com/studiorack/studiorack-app/commit/5a7280b20108f094e801ec83fced0c68c6e66ee5