tympanix / Electorrent

A remote control client for µTorrent, qBittorrent, rTorrent, Transmission, Synology & Deluge
GNU General Public License v3.0
1.03k stars 84 forks source link

Self-update/auto-update fails with uncaught exception #303

Closed sensibleish closed 2 years ago

sensibleish commented 2 years ago

When attempting to use auto-update in 2.8.0 and in the previous version, upon clicking Quit and Install I get this error:

A JavaScript error occurred in the main process
Uncaught Exception:
TypeError: shell.openltem is not a function at /Users/----/Applications/Electorrent.app/Contents/Resources/app.asar/lib/update.js:69:19 at FSReqCallback.oncomplete (fs.js:171:23)

Screen Shot 2022-10-10 at 2 57 37 PM

Screen Shot 2022-10-10 at 2 57 27 PM

MacOS 12.6. Running as a non-admin user. Application is installed in ~/Applications, not /Applications.

tympanix commented 2 years ago

Thanks for this.

I did actually create a fix for this but somehow forgot to merge the PR for the last release.

The issue will occur for the next release as well because of this - but will be solved after upgrading.