Skip to content

Commit

Permalink
Fix a call to update_flet_view_version_info()
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed Jan 3, 2023
1 parent 725fdcc commit 2a46c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/python/flet/cli/commands/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ def handle(self, options: argparse.Namespace) -> None:
update_flet_view_version_info,
)

exe_path = Path(hook_config.temp_bin_dir).joinpath(
"flet", "flet.exe"
exe_path = str(
Path(hook_config.temp_bin_dir).joinpath("flet", "flet.exe")
)
if os.path.exists(exe_path):
# icon
if options.icon:
icon_path = options.icon
if not Path(icon_path).is_absolute():
icon_path = str(Path(os.getcwd()).joinpath(icon_path))
update_flet_view_icon(str(exe_path), icon_path)
update_flet_view_icon(exe_path, icon_path)

# version info
version_info_path = update_flet_view_version_info(
Expand Down

0 comments on commit 2a46c62

Please sign in to comment.