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

Portable Cyberduck #12129

Closed
cyberduck opened this issue Feb 1, 2006 · 5 comments
Closed

Portable Cyberduck #12129

cyberduck opened this issue Feb 1, 2006 · 5 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Feb 1, 2006

Gand created the issue

Add a way to set the preference folder path so that, running Cyberduck via script, can be opened on an external drive (USB thumb, etc) taking all settings with you. A portable app is launched via a script that set the prefernce folder path to the portable drive and then open the app. Have a look at Adium script or AbiWord script to easy understand how it work. This was inspired by portableapps.com. All OS X portable apps are here.

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 3, 2006

@dkocher commented

Must also find a way to save the ~/Library/Preferences/ch.sudo.cyberduck.plist at a alternate location.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 6, 2006

Gand commented

By the moment, quite all Portable apps use ~/Library/Preferences/*.plist on HD.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 7, 2006

@dkocher commented

But that defeats the idea of a portable application.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 10, 2006

@dkocher commented

One can set the property application.support.path; this is where Cyberduck will save its History, Queue items and bookmarks. This is by default ~/Library/Application Support/Cyberduck.

defaults write ch.sudo.cyberduck application.support.path "/Volumes/Movable Disk/Something"

There is still no solution for the general Preferences in ~/Library/Preferences/.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 13, 2006

@dkocher commented

Ignore the above instructions. Info.plist of Cyberduck.app must now have (or similar)

	<key>application.support.path</key>
	<string>/Volumes/Movable Disk/Cyberduck/Preferences</string>
	<key>application.preferences.path</key>
	<string>/Volumes/Movable Disk/Cyberduck/Preferences/Preferences.plist</string>

You can also write these settings using the defaults command (use an absolute pathname to refer to the Info.plist and omit the plist extension)

defaults write "/Volumes/Movable Disk/Cyberduck.app/Contents/Info" application.support.path "/Volumes/Movable Disk/Cyberduck/Preferences"
defaults write "/Volumes/Movable Disk/Cyberduck.app/Contents/Info" application.preferences.path "/Volumes/Movable Disk/Cyberduck/Preferences/Preferences.plist"

Loading

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

Successfully merging a pull request may close this issue.

None yet
2 participants