flet-desktop-light 0.70.0.dev6365__tar.gz → 0.70.0.dev6370__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.

Potentially problematic release.


This version of flet-desktop-light might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-desktop-light
3
- Version: 0.70.0.dev6365
3
+ Version: 0.70.0.dev6370
4
4
  Summary: Flet Desktop client in Flutter
5
5
  Author-email: "Appveyor Systems Inc." <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "flet-desktop-light"
3
- version = "0.70.0.dev6365"
3
+ version = "0.70.0.dev6370"
4
4
  description = "Flet Desktop client in Flutter"
5
5
  authors = [{ name = "Appveyor Systems Inc.", email = "hello@flet.dev" }]
6
6
  license = "Apache-2.0"
@@ -10,6 +10,8 @@ import urllib.request
10
10
  import zipfile
11
11
  from pathlib import Path
12
12
 
13
+ import flet_desktop
14
+ import flet_desktop.version
13
15
  from flet.utils import (
14
16
  get_arch,
15
17
  is_linux,
@@ -19,9 +21,6 @@ from flet.utils import (
19
21
  safe_tar_extractall,
20
22
  )
21
23
 
22
- import flet_desktop
23
- import flet_desktop.version
24
-
25
24
  logger = logging.getLogger(flet_desktop.__name__)
26
25
 
27
26
 
@@ -146,9 +145,10 @@ def __locate_and_unpack_flet_view(page_url, assets_dir, hidden):
146
145
  for f in os.listdir(temp_flet_dir):
147
146
  if f.endswith(".app"):
148
147
  app_name = f
149
- assert app_name is not None, (
150
- f"Application bundle not found in {temp_flet_dir}"
151
- )
148
+ if app_name is None:
149
+ raise FileNotFoundError(
150
+ f"Application bundle not found in {temp_flet_dir}"
151
+ )
152
152
  app_path = temp_flet_dir.joinpath(app_name)
153
153
  logger.info(f"page_url: {page_url}")
154
154
  logger.info(f"pid_file: {pid_file}")
@@ -0,0 +1 @@
1
+ version = "0.70.0.dev6370"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flet-desktop-light
3
- Version: 0.70.0.dev6365
3
+ Version: 0.70.0.dev6370
4
4
  Summary: Flet Desktop client in Flutter
5
5
  Author-email: "Appveyor Systems Inc." <hello@flet.dev>
6
6
  License-Expression: Apache-2.0
@@ -1 +0,0 @@
1
- version = "0.70.0.dev6365"