3
0
Fork 0
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:
Svein Ove Aas 2016-10-01 18:53:18 +01:00
parent adfcc2d953
commit 24f2e0161d

View file

@ -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