Troubleshooting pyinstaller.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import sys, os
|
||||
from tools import ctx, setup_logger, check_if_app
|
||||
|
||||
# environment variable must be set to enable qtwebengine in network path
|
||||
if check_if_app():
|
||||
os.environ['QTWEBENGINE_DISABLE_SANDBOX'] = "1"
|
||||
|
||||
Reference in New Issue
Block a user