diff --git a/gui/Gui/Scytherthread.py b/gui/Gui/Scytherthread.py index 77dcae9..fc479d7 100644 --- a/gui/Gui/Scytherthread.py +++ b/gui/Gui/Scytherthread.py @@ -22,6 +22,7 @@ #--------------------------------------------------------------------------- """ Import externals """ +import platform import wx import threading import subprocess @@ -286,7 +287,10 @@ class ResultWindow(wx.Frame): if self.watchMode: print("Watching generating image") dotOutputWrite(btn.claim.attacks[0].scytherDot, self.watchModeFile + ".png",["-Tpng"]) - subprocess.run(['xdg-open', self.watchModeFile + ".png"]) + if platform.system() == 'Windows': + subprocess.run(['start', self.watchModeFile + ".png"]) + else: + subprocess.run(['xdg-open', self.watchModeFile + ".png"]) else: try: w = Attackwindow.AttackWindow(btn.claim) diff --git a/gui/nsl3-broken.spdl.png b/gui/nsl3-broken.spdl.png deleted file mode 100644 index cf0a1d8..0000000 Binary files a/gui/nsl3-broken.spdl.png and /dev/null differ diff --git a/src/version.h b/src/version.h index 06a90e1..81a4f75 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define TAGVERSION "b'v1.2-25-g2a698fa'" +#define TAGVERSION "b'v1.2-26-g50f3324-dirty'"