-
Notifications
You must be signed in to change notification settings - Fork 237
Start Parameters
Wire for Desktop can be started with different arguments to influence the view and behaviour of the app. Here is a list of all known parameters:
--startup
If the proxy requires authentication, a window will appear asking for the credentials. Alternatively, credentials can be provided within the url:
--proxy-server="<protocol>://<username>:<password>@<ip>:<port>"
Example
--proxy-server="http://my-user:secretpassword@company-proxy.local:8080"
Read more: https://www.electronjs.org/docs/api/command-line-switches#--proxy-serveraddressport
Note: It is mandatory to put the proxy address in string quotations and to declare the full protocol (http, https).
To use a custom config directory (including Chrome Cache etc.), use --user_data_dir
.
Example for Windows:
--user_data_dir="C:\wire"
Example for macOS / Linux:
--user_data_dir="/home/wire"
When enabling portable mode, Wire will save all its data into a Data
directory which will be created where it was started at.
--portable
--enable-logging
--devtools
Note: This needs the additional --user-data-dir
parameter.
--disable-web-security
Example for Windows:
--disable-web-security --user-data-dir="%TEMP%\chromedev"
Example for macOS / Linux:
--disable-web-security --user-data-dir="/tmp/chromedev"
--env=http://localhost:8888/
Furthermore, see Electron's supported command line switches.
The easiest option on Windows is to edit the desktop shortcut.
- Right-click on the desktop shortcut
- Select "properties"
- In the input field for "Target", add a space and one of the parameters
- Click "OK"
- Double-click the desktop shortcut
In the following example, --devtools
was added to the input field:
- Click on start
- Select "Run"
- Enter "cmd"
- Click "OK"
- In the command line, enter
%LOCALAPPDATA%\wire\Wire.exe
following a space and one of the parameters - Press enter
In the following example, --devtools
was entered in the command line:
- Open the Terminal app
- Enter
open -a Wire.app --args
following a space and one of the parameters - Press enter
Alternative:
- Open the Terminal app
- Enter the following:
# Navigate to the Wire binary directory
cd "$(mdfind 'kMDItemCFBundleIdentifier="com.wearezeta.zclient.mac"')/Contents/MacOS"
# Start the Wire binary
./Wire --devtools
- Open a terminal
- Enter
/opt/Wire/wire-desktop
following a space and one of the parameters - Press enter