factorio: fix updateScript definition

The update script does not take `username` and `token` parameters anymore,
since 44754ac517 (thanks Luke!)

As a side-effect, R. RyanTM should now keep `factorio` up-to-date
like the good bot it is.  <3

(cherry picked from commit afa66f4755)
This commit is contained in:
nicoo 2024-11-20 22:21:44 +00:00 committed by github-actions[bot]
parent 141520d7f3
commit d4bf0c4a13

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";