-
Notifications
You must be signed in to change notification settings - Fork 238
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:
--env=http://localhost:8888/
--devtools
Shortcut example on Windows:
Path to the app: %APPDATA%\..\Local\wire
--startup
--enable-logging
# 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
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.