-
Notifications
You must be signed in to change notification settings - Fork 668
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
Option --confdir
not added to Autostart config
#5339
Comments
Note that we want to generate the command line from the arguments that were parsed. Simply forwarding the command line arguments is not going to work if they contain relative paths. |
@ckamm sounds like you do suggest this is not a bug, but a different command should be used? |
@hodyroff No, I'm saying that forwarding the arguments that were passed to the owncloud binary to the autostart entry verbatim is not going to work. Getting this right is not complicated but needs a bunch of effort. This is a low-severity issue: Users who need the client started with specific command line arguments are probably savy enough to set up autostart for themselves. The client could be nice and not set up autostart if it was started with command line arguments, or at least tell the user that what's happening is probably not what they want. That could avoid frustrating advanced users without having a large, very rarely used chunk of code in the client that deals with this particular issue. |
--confdir was removed #11142 |
When launching the OwnCloud client with
--confdir
it creates the wrong Autostart config. The command line switch should also be appended to the OwnCloud binary when generating the Autostart config.Expected behaviour
Start OwnCloud with
/path/to/owncloud.exe --confdir %APPDATA%\custom.ownCloud\
Configure client and enable Autostart
The full path to the client binary, including the
--confdir %APPDATA%/ownCloud/
should be stored inHKCU\Software\Microsoft\Windows\CurrentVersion\Run\ownCloud
(or whereever the autostart config is stored on other platforms).Actual behaviour
When starting the client with
--confdir %APPDATA%/ownCloud/
this config is omitted when creating Autostart entries.The text was updated successfully, but these errors were encountered: