olegbl / d2rmm

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

Auto-update not working (follow-up to issue #24) #29

Open Caedendi opened 1 week ago

Caedendi commented 1 week ago

I've finally gotten around to checking out the updater error:

The error message is a bit hard to read but I'm 90% certain this is what it says:

File C:\Users\Caedendi\AppData\Local\Temp\D2RMM\Updater\update.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170
    + CategoryInfo          : SecurityError. (t) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess

The link is an alias for this.

Any chance you could find a fix for this that would not involve us users having to change Windows settings manually?


Files: screenshot d2rmm.log

olegbl commented 1 week ago

Oh, lol. Yeah, if the security policy prevents PowerShell scripts, this won't work. I guess I'd need to ship another executable... A task for a later time.

Thank you for taking the time to repro btw!

Caedendi commented 1 week ago

You're welcome! Thanks for the fast response(s).