fiorinin / Hasher

A simple GUI integrating multiple miners for a simple and effective mining experience.
GNU General Public License v3.0
1 stars 0 forks source link

7zip is looking for wrong path #2

Open fiorinin opened 6 years ago

fiorinin commented 6 years ago

[2018-01-22 17:41:05.366] [error] Error when unzipping: Error: spawn C:\Users\johy\AppData\Local\Programs\Hasher\resources\app.asar\node_modules\7zip\7zip-lite\7z.exe ENOENT

Looks like Hasher tries to use the wrong directory (app.asar instead of app.asar.unpacked). Could not reproduce because this path was already set up as I developed the app, and I believe it happens because of the packaging step, while I first used the app in dev mode.

fiorinin commented 6 years ago

Was able to reproduce after I uninstalled everything. Looks like this is a common problem, see: https://github.com/epsitec-sa/hazardous.

fiorinin commented 6 years ago

Should be fixed in the latest release, I’ll wait for feedback before closing.