[Backport release-24.11] factorio: fix updateScript
definition (#359021)
This commit is contained in:
commit
f33cc1517f
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user