factorio: fix updateScript
definition
The update script does not take `username` and `token` parameters anymore, since44754ac517
(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 commitafa66f4755
)
This commit is contained in:
parent
141520d7f3
commit
d4bf0c4a13
@ -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