Skip to content

tell the user to restart game if package.json is changed#32

Merged
rphsoftware merged 1 commit intorphsoftware:masterfrom
nift4:packagejson
Aug 4, 2024
Merged

tell the user to restart game if package.json is changed#32
rphsoftware merged 1 commit intorphsoftware:masterfrom
nift4:packagejson

Conversation

@nift4
Copy link
Contributor

@nift4 nift4 commented Jul 15, 2024

Editing the package.json file can change the Chromium launch arguments.
nwjs doesn't support restarting the Chromium instance without full process restart and
NodeJS doesn't support something like execve(), hence there is no
(chrome.runtime.reload() is closer to reloading a tab than restarting the whole browser)
Spawning and detaching a child process will cause Steam to stop tracking play time.
Just tell the user to restart the game to avoid surprises why the changes don't apply.

@rphsoftware rphsoftware merged commit d1f208f into rphsoftware:master Aug 4, 2024
@nift4 nift4 deleted the packagejson branch August 4, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants