Skip to content

Commit 3e1ee34

Browse files
committed
README.md: Update ZYPAK_SPAWN_LATEST_ON_REEXEC default
Ref #34. Signed-off-by: Ryan Gonzalez <ryan.gonzalez@collabora.com>
1 parent b4607cc commit 3e1ee34

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,18 @@ your application is fully installed; simply running `zypak-wrapper` from a
2020

2121
## Re-exec behavior
2222

23-
By default, Zypak will detect when the app is re-exec'ing itself and attempt to
24-
spawn the latest version, in order for `chrome://restart` to function. This can
25-
be disabled by setting `ZYPAK_SPAWN_LATEST_ON_REEXEC=0`. **This will be the
26-
default in the future once existing browsers are migrated,** because it matches
27-
more closely with what Electron would expect.
23+
`ZYPAK_SPAWN_LATEST_ON_REEXEC=1` will have Zypak detect when the app is re-
24+
exec'ing itself and attempt to spawn the latest version, in order for
25+
`chrome://restart` to function. (Previous versions of Zypak defaulted to this
26+
being enabled.)
2827

2928
### Usage with a wrapper script
3029

31-
If `ZYPAK_SPAWN_LATEST_ON_REEXEC=1` (the current default) is active, and Zypak
32-
was invoked by some sort of wrapper script, make sure you set `CHROME_WRAPPER=`
33-
to the path of said script. Otherwise, if the application attempts to re-exec
34-
itself (i.e. `chrome://restart`), it won't be using the wrapper on re-exec,
35-
leading to potentially unexpected behavior.
30+
If `ZYPAK_SPAWN_LATEST_ON_REEXEC=1` is set, and Zypak was invoked by some sort
31+
of wrapper script, make sure you set `CHROME_WRAPPER=` to the path of said
32+
script. Otherwise, if the application attempts to re-exec itself (i.e.
33+
`chrome://restart`), it won't be using the wrapper on re-exec, leading to
34+
potentially unexpected behavior.
3635

3736
## Widevine support
3837

0 commit comments

Comments
 (0)