Quantcast
Channel: Electron: Crash after build exe - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Answer by Wang Liang for Electron: Crash after build exe

$
0
0

I Found SolutionInstead of running with a mouse double click at File Explorer, I used windows command prompt to run exe, and, from there, I can find error logs.

So, I found: the some relative path is not working, because, the electron pack source code with asar.

and, some file operate is not working, etc fs.read, fs.readDir.

Cannot access files inside asar archive in electron app ,


So, I removed this problem.


Viewing all articles
Browse latest Browse all 2

Trending Articles