pyloid 0.22.0.dev4__tar.gz → 0.22.0.dev6__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyloid
3
- Version: 0.22.0.dev4
3
+ Version: 0.22.0.dev6
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.22.0-dev4"
3
+ version = "0.22.0-dev6"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -537,26 +537,6 @@ class _BrowserWindow:
537
537
  }
538
538
  });
539
539
 
540
- function updateTheme(theme) {
541
- if (typeof document !== 'undefined') {
542
- document.documentElement.setAttribute(
543
- 'data-pyloid-theme',
544
- theme
545
- );
546
- }
547
- }
548
-
549
- // 테마 변경 이벤트 리스너
550
- if (typeof document !== 'undefined') {
551
- document.addEventListener('themeChange', (e) => {
552
- console.log('themeChange event received:', e);
553
- updateTheme(e.detail.theme);
554
- });
555
-
556
- updateTheme('%s');
557
- }
558
-
559
-
560
540
  // Dispatch a custom event to signal that the initialization is ready
561
541
  const event = new CustomEvent('pyloidReady');
562
542
  document.dispatchEvent(event);
@@ -572,7 +552,7 @@ class _BrowserWindow:
572
552
  for js_api in self.js_apis
573
553
  ]
574
554
  )
575
- self.web_view.page().runJavaScript(js_code % (js_api_init, self.app.theme))
555
+ self.web_view.page().runJavaScript(js_code % (js_api_init))
576
556
 
577
557
  # if splash screen is set, close it when the page is loaded
578
558
  if self.close_on_load and self.splash_screen:
File without changes
File without changes