Add windows version
This commit is contained in:
parent
50f3324c10
commit
e03d27e0c5
@ -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)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 126 KiB |
@ -1 +1 @@
|
||||
#define TAGVERSION "b'v1.2-25-g2a698fa'"
|
||||
#define TAGVERSION "b'v1.2-26-g50f3324-dirty'"
|
||||
|
Loading…
Reference in New Issue
Block a user