RcloneBrowser icon indicating copy to clipboard operation
RcloneBrowser copied to clipboard

Where are preferences stored in OS X/Mac OS?

Open faxotherapy opened this issue 8 years ago • 5 comments

Hello,

just the need to know. Where are RcloneBrowser preferences stored in OS X/Mac OS? I mean how does it remember my rclone config location?

Thanks for your help.

Faxopita

faxotherapy avatar May 30 '17 09:05 faxotherapy

I cannot check at the moment, but it should be in standard location where macOS applications store preferences: ~/Library/Preferences/rclone-browser or similar. Let me know if this is not the location, then I'll check on real macOS.

There is support for portable mode - if you create RcloneBrowser.ini (same name as executable, but different extension) next to binary executable, then it will load and store settings in this file.

mmozeiko avatar May 30 '17 17:05 mmozeiko

Thanks very much for your time. Location ~/Library/Preferences/ is obviously one area to store app preferences, but I kept deleting the corresponding .plist file for testing purpose, but to my surprise the app was not affected. I'll try the portable mode and get back to you in a bit. Thanks for letting me know this alternative as I'm writing a script for auto-configuration.

faxotherapy avatar May 30 '17 18:05 faxotherapy

I'm trying the portable mode. Not very clear to me. I'm missing bits of information. In Mac OS, shall I put RcloneBrowser.ini right next to the binary Rclone Browser, thus inside folder /Applications/Rclone Browser.app/Contents/MacOS/?

How should RcloneBrowser.ini content look like? Something like rclone_bin=~/bin/rclone and rclone_conf=~/.config/rclone/rclone.conf?

Thank you.

faxotherapy avatar May 30 '17 18:05 faxotherapy

You need to put it into MacOS folder - right next to binary executable. Rclone Browser.app is just a folder, not executable.

You can leave ini file empty, then simply use the regular Preferences dialog to configure the application.

mmozeiko avatar May 30 '17 18:05 mmozeiko

So, in the folder MacOS I created the empty file Rclone Browser.ini, then re-opened the app and did some config. Changes reflected in the .INI file. I can now use it.

Thanks very much for your support. Problem solved.

faxotherapy avatar May 30 '17 19:05 faxotherapy