- Some reshuffling should restore matters.
This commit is contained in:
parent
6f59760a70
commit
e14d165816
@ -26,12 +26,12 @@ class Scyther(object):
|
||||
if sys.platform.startswith('win'):
|
||||
""" Windows """
|
||||
# TODO hardcoded for now, bad
|
||||
self.program = os.path.join("bin","Scyther.exe")
|
||||
self.program = "Scyther.exe"
|
||||
if not os.path.isfile(self.program):
|
||||
print "I can't find the Scyther executable at %s" % (self.program)
|
||||
else:
|
||||
""" Non-windows """
|
||||
self.program = os.path.join("bin","scyther")
|
||||
self.program = "scyther"
|
||||
|
||||
# Init
|
||||
self.spdl = None
|
||||
|
@ -5,6 +5,7 @@
|
||||
""" Import externals """
|
||||
import wx
|
||||
import sys
|
||||
import os
|
||||
from optparse import OptionParser, SUPPRESS_HELP
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
@ -41,7 +42,7 @@ def parseArgs():
|
||||
|
||||
class MySplashScreen(wx.SplashScreen):
|
||||
def __init__(self):
|
||||
bmp = wx.Image(Misc.mypath("images/scyther-splash.png")).ConvertToBitmap()
|
||||
bmp = wx.Image(os.path.join("images","scyther-splash.png")).ConvertToBitmap()
|
||||
wx.SplashScreen.__init__(self, bmp,
|
||||
wx.SPLASH_CENTRE_ON_SCREEN | wx.SPLASH_TIMEOUT,
|
||||
5000, None, -1)
|
||||
|
Loading…
Reference in New Issue
Block a user