-
Notifications
You must be signed in to change notification settings - Fork 671
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
Add --cmd
parameter to main UI executable
#10976
Comments
TheOneRing
added a commit
that referenced
this issue
Jul 25, 2023
TheOneRing
added a commit
that referenced
this issue
Jul 28, 2023
TheOneRing
added a commit
that referenced
this issue
Jul 28, 2023
Tested with owncloud appImage ✔️./ownCloud-5.0.0.11624-daily20230801-x86_64.AppImage --cmd --help outputm_crashReporterChar: /tmp/.mount_ownCloKNfR0j/usr/bin/owncloud_crash_reporter
Usage: /tmp/.mount_ownCloKNfR0j/usr/bin/owncloudcmd [options] source_dir server_url remote_folder
owncloudcmd version 5.0.0.11624-daily20230801 - command line client tool
Options:
-s, --silent Don't be so verbose.
--httpproxy <http://server:port> Specify a http proxy to use.
--trust Trust the SSL certification
--exclude <file> Path to an exclude list [file]
--unsyncedfolders <file> File containing the list of unsynced remote
folders (selective sync)
--server <url> Use [url] as the location of the server.
OCIS only (server location and spaces url
can differ)
-u, --user <name> Use [name] as the login name
-p, --password <password> Use [pass] as password
--non-interactive Do not block execution with interaction
--max-sync-retries <n> Retries maximum n times (default to 3)
--uplimit <n> Limit the upload speed of files to n KB/s
--downlimit <n> Limit the download speed of files to n KB/s
--sync-hidden-files Enables synchronization of hidden files
--logdebug More verbose logging
-h, --help Displays help on commandline options.
--help-all Displays help including Qt specific
options.
-v, --version Displays version information.
Arguments:
source_dir The source dir
server_url The url to the server
remote_folder A remote folder owncloud gui ✔️owncloud --cmd --help outputm_crashReporterChar: /opt/owncloud.AppDir/usr/bin/owncloud_crash_reporter
Usage: /opt/owncloud.AppDir/usr/bin/owncloudcmd [options] source_dir server_url remote_folder
owncloudcmd version 5.0.0.11624-daily20230801 - command line client tool
Options:
-s, --silent Don't be so verbose.
--httpproxy <http://server:port> Specify a http proxy to use.
--trust Trust the SSL certification
--exclude <file> Path to an exclude list [file]
--unsyncedfolders <file> File containing the list of unsynced remote
folders (selective sync)
--server <url> Use [url] as the location of the server.
OCIS only (server location and spaces url
can differ)
-u, --user <name> Use [name] as the login name
-p, --password <password> Use [pass] as password
--non-interactive Do not block execution with interaction
--max-sync-retries <n> Retries maximum n times (default to 3)
--uplimit <n> Limit the upload speed of files to n KB/s
--downlimit <n> Limit the download speed of files to n KB/s
--sync-hidden-files Enables synchronization of hidden files
--logdebug More verbose logging
-h, --help Displays help on commandline options.
--help-all Displays help including Qt specific
options.
-v, --version Displays version information.
Arguments:
source_dir The source dir
server_url The url to the server
remote_folder A remote folder |
owncloud.exe ❌./owncloud.exe --cmd --help ❗ gives nothing but opens a terminal which gets closed after sometime CC @TheOneRing |
The client was crashing during startup, even before the crash reporter was set up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pre-submission Checks
Feature description
Continuation #10888.
Instead of using the
AppRun
AppImage entrypoint to provide a--cmd
parameter to launch the commandline application (and thus provide an AppImage-only solution), the main UI should receive a--cmd
parameter. This way, we provide a unified user experience in all of our distributions.Proposed solution
--cmd
should launch the commandline application (ideally withexec*
, otherwise a subprocess might do as well). We need to make sure that--cmd
is the first argument passed to the application (i.e., make it position sensitive).Alternative solutions you considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: