PhoenicisOrg/scripts

Update "Space Colony" script

madoar opened this issue · 1 comments

The following should be done:

  • change var to const or let
  • change function to the arrow syntax
  • add the missing parameters to wine.run

.postInstall(function (wine /*wizard*/) {
var patch = new Resource()
.wizard(this._wizard)
.url("https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe")
.checksum("c821e5c7035b9b517823466f4cedadd3")
.algorithm("MD5")
.name("Space_Colony_HD_Update.exe")
.get();
wine.run(patch);
});

It's already const