forked from mirrors/nixpkgs
factorio: Don't set argv[0]
This is needed to let its auto-restart function work, e.g. when changing the mod setup.
This commit is contained in:
parent
adfcc2d953
commit
24f2e0161d
|
@ -114,6 +114,7 @@ let
|
|||
wrapProgram $out/bin/factorio \
|
||||
--prefix LD_LIBRARY_PATH : /run/opengl-driver/lib:$libPath \
|
||||
--run "$out/share/factorio/update-config.sh" \
|
||||
--argv0 "" \
|
||||
--add-flags "-c \$HOME/.factorio/config.cfg ${optionalString (mods != []) "--mod-directory=${modDir}"}"
|
||||
|
||||
# TODO Currently, every time a mod is changed/added/removed using the
|
||||
|
|
Loading…
Reference in a new issue