factorio: fix updateScript definition (#357689)

This commit is contained in:
Luke Granger-Brown
2024-11-25 14:53:04 +00:00
committed by GitHub
+1 -9
View File
@@ -201,15 +201,7 @@ let
$out/bin/factorio
'';
passthru.updateScript =
if (username != "" && token != "") then
[
./update.py
"--username=${username}"
"--token=${token}"
]
else
null;
passthru.updateScript = ./update.py;
meta = {
description = "Game in which you build and maintain factories";