What pits should be paid attention to when Pyinstaller packages eel and pygame?
SetTimeout (resolve, ms);}, _ toJSON: function (obj) {return JSON.stringify (obj, (k, v) = > v = undefined? Null: v);}, _ call_return: function (call) {return function (callback = null) {if (callback! = null) {eel._call_return_ callbacks [call.call] = callback;} else {return new Promise (function (resolve) {eel._call_return_ callbacks [call.call] = resolve });}, _ position_window: function (page) {let size = eel._start_geometry ['default'] .size; let position = eel._start_geometry [' default'] .position; if (page in eel._start_geometry.pages) {size = eel._start_ geometry.pages [page] .size Position = eel._start_ geometry.pages.position;} if (size! = null) {window.resizeTo (size [0], size [1]);} if (position! = null) {window.moveTo (position [0], position [1]);}}, _ init: function () {eel._mock_py_functions () Document.addEventListener ("DOMContentLoaded", function (event) {let page= _ window.location.pathname.substring (1); eel._position_window (page); let websocket_addr = (eel._host +'/ eel'). Replace ('http',' ws'); websocket_addr + = ('? page=' + page); eel._websocket = new WebSocket (websocket_addr) Eel._websocket.onopen = function () {for (let I = 0; I)
< eel._py_functions.length; i++){ let py_function = eel._py_functions[i]; eel._import_py_function(py_function); } while(eel._mock_queue.length >