Skip to content

Start Parameters

Florian Keller edited this page Nov 1, 2019 · 29 revisions

Wire's wrapper can be started with different arguments to influence the view and behaviour of the wrapper. Here is a list of all known parameters:

Change wrapped WebApp

--env=http://localhost:8888/

Enable Chrome Developer Tools on Startup

--devtools

Shortcut example on Windows:

windows

Path to the app: %APPDATA%\..\Local\wire

Start the app minimized

--startup

Enable verbose logging

--enable-logging

Start production wrapper with devtools

macOS

# Navigate to the Electron binary directory
cd /Applications/(Wire.app | Wire.localized/Wire.app)/Contents/MacOS

# Start the Electron binary
./Electron --devtools

Alternative:

open /Applications/(Wire.app | Wire.localized/Wire.app) --args --devtools

Windows

c:
cd \Users\%username%\AppData\Local\wire\
FOR /F "delims=" %%i IN ('dir /b /ad-h /t:c /od') DO SET a=%%i
cd %a%
Wire.exe --devtools
pause

Disable Web Security

--disable-web-security --user-data-dir="c:/chromedev"

Use Proxy Server

Note: If the proxy requires authentication, a window will appear asking for the credentials.

--proxy-server="<ip>:<port>"

Use Authenticated Proxy Server (e.g. to pass the credentials automatically to the server once asked)

--proxy-server-auth="<protocol>://<username>:<password>@<ip>:<port>"

Furthermore, see Electron's supported command line switches.

Clone this wiki locally