Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenaj194 committed Jun 17, 2024
1 parent c9b5ef7 commit a5257f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows-exe-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
with:
tag_name: "v${{env.AAA_VERSION}}"
release_name: "Release v${{env.AAA_VERSION}}"
draft: false
draft: true
prerelease: false

- name: Encode and Save Upload URL as Base64
Expand Down
4 changes: 2 additions & 2 deletions AzerothAuctionAssassin.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(self):

# checking if the app is invoked from the windows binary and if yes then change the icon file path.
if windowsApp_Path is not None:
icon_path = f"{windowsApp_Path}\{icon_path}"
icon_path = os.path.join(windowsApp_Path, icon_path)

icon = QIcon(icon_path)
self.setWindowIcon(icon)
Expand Down Expand Up @@ -369,7 +369,7 @@ def make_home_page(self, home_page):
# checking if the app is invoked from the windows binary and if yes then change the icon file path.
icon_path = "icon.ico"
if windowsApp_Path is not None:
icon_path = f"{windowsApp_Path}/icon.ico"
icon_path = os.path.join(windowsApp_Path, icon_path)

# display the icon.ico
self.icon = QLabel(home_page)
Expand Down
4 changes: 2 additions & 2 deletions AzerothAuctionTarget.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ def make_page(self):
# checking if the app is invoked from the windows binary and if yes then change the icon file path.
icon_path = "target.png"
if windowsApp_Path is not None:
icon_path = f"{windowsApp_Path}/{icon_path}"
icon_path = os.path.join(windowsApp_Path, icon_path)

# display the icon.ico
self.icon = QLabel(self)
Expand Down Expand Up @@ -1997,7 +1997,7 @@ def __init__(self):

# checking if the app is invoked from the windows binary and if yes then change the icon file path.
if windowsApp_Path is not None:
icon_path = f"{windowsApp_Path}\{icon_path}"
icon_path = os.path.join(windowsApp_Path, icon_path)

icon = QIcon(icon_path)
self.setWindowIcon(icon)
Expand Down

0 comments on commit a5257f7

Please sign in to comment.