Skip to content

Commit 4a7cd81

Browse files
authored
Pre1.0_4
1 parent 3315e9c commit 4a7cd81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ROOT/softwares/Micr0n/Micr0n.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ def on_app_launch(frame:tk.Frame, width:int=900, height:int=640):
5757
sys.excepthook = cef.ExceptHook # To shutdown all CEF processes on error
5858
# Tk must be initialized before CEF otherwise fatal error (Issue #306)
5959
app = MainFrame(frame)
60-
settings = {}
60+
settings = {"cache_path":f"ROOT/{software_api.REGISTRY['USERS_FOLDER']}/{software_api.REGISTRY['USERDATA_NAME']}"}
6161
if MAC:
6262
settings["external_message_pump"] = True
63-
cef.Initialize(settings=settings)
63+
cef.Initialize(settings=settings, switches={"enable-media-stream": True})
6464
else:
6565
if not "no_connection_title" in globals():
6666
globals()["no_connection_title"] = tk.Label(

0 commit comments

Comments
 (0)