Skip to content

Start Parameters

Benny Neugebauer edited this page Jul 12, 2017 · 29 revisions

Wire's wrapper can be started with different arguments to influence the view & 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

untitled

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

Start the app minimized

--startup

Start production wrapper with devtools

# 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

On 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"
Clone this wiki locally