-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Python-bridge works fine in the dev environment, but once I package the app using electron-builder it breaks. This seems to be related to ASAR. Node.js is able to properly read ASAR paths, but python is not. Note the app.asar in the path. It would be much appreciated if someone knows how to fix this. Until then I will try to exclude the file from ASAR.
This is the output when I run my packaged app on the command line:
C:\Program Files\binpro\resources\assets\WinPython\python.exe: can't open file 'C:\\Program Files\\binpro\\resources\\app.asar\\node_modules\\python-bridge\\node_python_bridge.py': [Errno 2] No such file or directory
Metadata
Metadata
Assignees
Labels
No labels