olegbl / d2rmm

Mod Manager for Diablo II: Resurrected
https://www.nexusmods.com/diablo2resurrected/mods/169
MIT License
54 stars 9 forks source link

Auto-update not working #24

Open Caedendi opened 1 week ago

Caedendi commented 1 week ago

I have multiple folders for D2RMM. For both my 1.7.0 folders auto-update doesn't work:

Both of them run as administrator.

olegbl commented 1 week ago

Could you post the log (d2rmm.log) please?

I'm guessing that the PowerShell script that's meant to copy over the new files into D2RMM directory is failing (that's the "black command window").

If you don't mind, what would really help would be:

  1. Open up PowerShell.
  2. Navigate to %temp%\d2rmm\updater\ (assuming PowerShell opens in your user directory, type in cd AppData\Local\Temp\D2RMM\Updater and hit enter).
  3. Type in ./update.ps1 and hit enter.

This should run the updater and start D2RMM. If it has any errors, they should show up here.


Relevant code: https://github.com/olegbl/d2rmm/blob/master/src/main/worker/UpdaterAPI.ts#L169-L181 https://github.com/olegbl/d2rmm/blob/master/src/main/UpdateInstallerAPI.ts#L16-L28