Skip to content

Commit

Permalink
A few fixes after testing on a windows vm
Browse files Browse the repository at this point in the history
Issue #145
  • Loading branch information
damies13 committed Aug 25, 2024
1 parent 9c1beee commit b987c5a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rfswarm_manager/rfswarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ def create_icons(self):
# iconpath = "c:\\Users\\Dave\\AppData\\Local\\Programs\\Python\\Python311\\Lib\site-packages\\rfswarm_manager\\icons\\rfswarm-manager-128.ico"
src_iconx128 = os.path.join(icon_dir, "rfswarm-manager-128.ico")

self.create_windows_shortcut(scutpath, manager_executable, src_iconx128, "Performance testing with robot test cases")
self.create_windows_shortcut(scutpath, manager_executable, src_iconx128, "Performance testing with robot test cases", True)


def create_windows_shortcut(self, scutpath, targetpath, iconpath, desc, minimised=False):
Expand All @@ -2847,11 +2847,11 @@ def create_windows_shortcut(self, scutpath, targetpath, iconpath, desc, minimise

# psscript = '\n'.join(pslst)
psscript = '; '.join(pslst)
self.debugmsg(6, "psscript:", psscript)
base.debugmsg(6, "psscript:", psscript)

response= os.popen('powershell.exe -command ' + psscript).read()

self.debugmsg(6, "response:", response)
base.debugmsg(6, "response:", response)


# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Expand Down Expand Up @@ -6114,6 +6114,7 @@ def ScheduledStart(self, _event=None):
base.debugmsg(5, "run_starttime:", base.run_starttime)

schedWindow = tk.Toplevel(self.root)
schedWindow.wm_iconphoto(False, self.icon)
# schedWindow.config(bg="pink")
schedWindow.columnconfigure(0, weight=1)
schedWindow.rowconfigure(1, weight=1)
Expand Down

0 comments on commit b987c5a

Please sign in to comment.