pyloid 0.26.9__py3-none-any.whl → 0.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pyloid/browser_window.py
CHANGED
@@ -730,6 +730,8 @@ class _BrowserWindow:
|
|
730
730
|
};
|
731
731
|
// console.log('pyloid.EventAPI object initialized:', window.pyloid.EventAPI);
|
732
732
|
|
733
|
+
window.ipc = {};
|
734
|
+
|
733
735
|
%s
|
734
736
|
|
735
737
|
%s
|
@@ -753,13 +755,14 @@ class _BrowserWindow:
|
|
753
755
|
f"window['ipc']['{ipc.__class__.__name__}'] = channel.objects['{ipc.__class__.__name__}'];\n"
|
754
756
|
f"console.log('{ipc.__class__.__name__} object initialized:', window['ipc']['{ipc.__class__.__name__}']);"
|
755
757
|
for ipc in self.IPCs
|
758
|
+
if ipc.__class__.__name__ != "BaseIPC"
|
756
759
|
]
|
757
760
|
)
|
758
761
|
|
759
762
|
base_ipc_init = "window['__PYLOID__'] = channel.objects['__PYLOID__'];\n"
|
760
763
|
|
761
|
-
self.web_view.page().runJavaScript(js_code % base_ipc_init
|
762
|
-
|
764
|
+
self.web_view.page().runJavaScript(js_code % (base_ipc_init, ipcs_init_code))
|
765
|
+
|
763
766
|
# if splash screen is set, close it when the page is loaded
|
764
767
|
if self.close_on_load and self.splash_screen:
|
765
768
|
self.close_splash_screen()
|
@@ -3,7 +3,7 @@ pyloid/autostart.py,sha256=4q3YiYt2SKJiJV16FalISYVjg9X7b0l7eAmSWOhfXo0,3679
|
|
3
3
|
pyloid/base_ipc/base.py,sha256=eo0mkAOCl2h9NDD1sQNYauS15iyEGNpXY5oO5n4nNPo,8052
|
4
4
|
pyloid/base_ipc/event_api.py,sha256=JY8YfyTns4jMwZ43ob9KuGedMBSVML8FuQJHk_bDhFE,959
|
5
5
|
pyloid/base_ipc/window_api.py,sha256=-isphU3m2wGB5U0yZrSuK_4XiBz2mG45HsjYTUq7Fxs,7348
|
6
|
-
pyloid/browser_window.py,sha256=
|
6
|
+
pyloid/browser_window.py,sha256=yqHOtIyYkdnUTNssmuxJ69CSTZEeIjVsNII_dykt2AI,91843
|
7
7
|
pyloid/custom/titlebar.py,sha256=wkh3h6ZBOYJczTrOosgiTKiSL-ZU92RWQv4FjpnH9u8,3728
|
8
8
|
pyloid/filewatcher.py,sha256=Rdu76qpwXpFNQuapZZBajRN_0svcPZa2s-06IBH4dkk,4062
|
9
9
|
pyloid/ipc.py,sha256=W58SIYN8rfx4ZwdryMCfb-UMy8VkmpFBF-a0wIGhYsA,2256
|
@@ -17,7 +17,7 @@ pyloid/timer.py,sha256=YNxQn2HVMKBk417YDiz8WwhTmSAkbnGUyFGV2biUEPg,7821
|
|
17
17
|
pyloid/tray.py,sha256=yHWsOMPpEjZa3W-T-O8Wrwo1GphCV-9adodLdxU0_mA,1673
|
18
18
|
pyloid/url_interceptor.py,sha256=lA-i5Raw-GDRDMKHRO361N6igLfN9_mIANCXwZ_FZT8,771
|
19
19
|
pyloid/utils.py,sha256=x7PGkgreV3l4K-Tke9W06t_VEtq0mH0AYWK695IR-mo,6416
|
20
|
-
pyloid-0.
|
21
|
-
pyloid-0.
|
22
|
-
pyloid-0.
|
23
|
-
pyloid-0.
|
20
|
+
pyloid-0.27.0.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
21
|
+
pyloid-0.27.0.dist-info/METADATA,sha256=an9Ekbt0Bn1QulOm99Hx5pVC-dd8p-3ThNkfWUZ3gXI,2298
|
22
|
+
pyloid-0.27.0.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
23
|
+
pyloid-0.27.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|