pyloid 0.22.0.dev3__py3-none-any.whl → 0.22.0.dev5__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 +1 -17
- {pyloid-0.22.0.dev3.dist-info → pyloid-0.22.0.dev5.dist-info}/METADATA +1 -1
- {pyloid-0.22.0.dev3.dist-info → pyloid-0.22.0.dev5.dist-info}/RECORD +5 -5
- {pyloid-0.22.0.dev3.dist-info → pyloid-0.22.0.dev5.dist-info}/LICENSE +0 -0
- {pyloid-0.22.0.dev3.dist-info → pyloid-0.22.0.dev5.dist-info}/WHEEL +0 -0
pyloid/browser_window.py
CHANGED
@@ -537,22 +537,6 @@ class _BrowserWindow:
|
|
537
537
|
}
|
538
538
|
});
|
539
539
|
|
540
|
-
function updateTheme(theme) {
|
541
|
-
document.documentElement.setAttribute(
|
542
|
-
'data-pyloid-theme',
|
543
|
-
theme
|
544
|
-
);
|
545
|
-
}
|
546
|
-
|
547
|
-
// 테마 변경 이벤트 리스너
|
548
|
-
document.addEventListener('themeChange', (e) => {
|
549
|
-
console.log('themeChange event received:', e);
|
550
|
-
updateTheme(e.detail.theme);
|
551
|
-
});
|
552
|
-
|
553
|
-
updateTheme('%s');
|
554
|
-
|
555
|
-
|
556
540
|
// Dispatch a custom event to signal that the initialization is ready
|
557
541
|
const event = new CustomEvent('pyloidReady');
|
558
542
|
document.dispatchEvent(event);
|
@@ -568,7 +552,7 @@ class _BrowserWindow:
|
|
568
552
|
for js_api in self.js_apis
|
569
553
|
]
|
570
554
|
)
|
571
|
-
self.web_view.page().runJavaScript(js_code % (js_api_init
|
555
|
+
self.web_view.page().runJavaScript(js_code % (js_api_init))
|
572
556
|
|
573
557
|
# if splash screen is set, close it when the page is loaded
|
574
558
|
if self.close_on_load and self.splash_screen:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
pyloid/__init__.py,sha256=4xh7DHBMw2ciDFwI376xcIArhH8GaM4K_NdIa3N0BFo,335
|
2
2
|
pyloid/api.py,sha256=A61Kmddh8BlpT3LfA6NbPQNzFmD95vQ4WKX53oKsGYU,2419
|
3
3
|
pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
|
4
|
-
pyloid/browser_window.py,sha256=
|
4
|
+
pyloid/browser_window.py,sha256=jPvx1EPq3VAKwtMnr9wL9FrmQJLz9rIUfP4I8B2BKwQ,99056
|
5
5
|
pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
|
6
6
|
pyloid/filewatcher.py,sha256=3M5zWVUf1OhlkWJcDFC8ZA9agO4Q-U8WdgGpy6kaVz0,4601
|
7
7
|
pyloid/js_api/base.py,sha256=v2Su9errEY4oBRSXmLZps8dn9qCGbEqwp-hs-MduQRc,826
|
@@ -14,7 +14,7 @@ pyloid/thread_pool.py,sha256=fKOBb8jMfZn_7crA_fJCno8dObBRZE31EIWaNQ759aw,14616
|
|
14
14
|
pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
|
15
15
|
pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
|
16
16
|
pyloid/utils.py,sha256=e866N9uyAGHTMYsqRYY4JL0AEMRCOiY-k1c1zmEpDA4,4686
|
17
|
-
pyloid-0.22.0.
|
18
|
-
pyloid-0.22.0.
|
19
|
-
pyloid-0.22.0.
|
20
|
-
pyloid-0.22.0.
|
17
|
+
pyloid-0.22.0.dev5.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
|
18
|
+
pyloid-0.22.0.dev5.dist-info/METADATA,sha256=sxnqQVXE5kQ8xSUTHRUG_tvXyrkcW8G_PquMH-HCNWg,3071
|
19
|
+
pyloid-0.22.0.dev5.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
20
|
+
pyloid-0.22.0.dev5.dist-info/RECORD,,
|
File without changes
|
File without changes
|