@@ -467,6 +467,10 @@ def summonWindow1():
467
467
selector ["menu" ].config (bg = buttonColour ,fg = foregroundColour ,font = (buttonFont ))
468
468
selector .grid (column = 0 ,row = 5 ,sticky = "w" )
469
469
470
+ if platform .system () == "Darwin" :
471
+ macOS_hiddentext = tkinter .Label (topFrame , text = "(Click the area above this text\n if you can't see the drop down menu) " ,fg = foregroundColour ,font = (bodyFont ))
472
+ macOS_hiddentext .grid (column = 0 ,row = 6 , sticky = "w" )
473
+
470
474
backButton = Button (bottomFrame ,text = "Back" , font = (buttonFont ),fg = foregroundColour ,bg = backButtonColour ,command = lambda : [topFrame .destroy (),bottomFrame .destroy (),summonWindow0 ()], width = button_width )
471
475
backButton .pack (side = tkinter .LEFT )
472
476
nextButton = Button (bottomFrame , text = "Next" ,width = button_width , fg = foregroundColour ,bg = nextButtonColour , font = (buttonFont ),command = lambda :[topFrame .destroy (),bottomFrame .destroy (),summonWindow2 ()])
@@ -593,6 +597,8 @@ def summonWindow5():
593
597
print ("This program will ONLY work on Python 3 and above" )
594
598
sys .exit ()
595
599
600
+ os .chdir (os .path .dirname (os .path .abspath (sys .argv [0 ])))
601
+
596
602
root = tkinter .Tk ()
597
603
window = tkinter .Toplevel (root )
598
604
root .withdraw ()
@@ -607,7 +613,7 @@ def summonWindow5():
607
613
#TKinter Vars
608
614
downloadmemorypit = tkinter .IntVar (value = 1 )
609
615
firmwareVersion = tkinter .StringVar ()
610
- firmwareVersion .set (dsiVersions [0 ])
616
+ firmwareVersion .set (dsiVersions [1 ])
611
617
downloadtwlmenu = tkinter .IntVar (value = 1 )
612
618
downloaddumptool = tkinter .IntVar (value = 1 )
613
619
unlaunch = tkinter .IntVar (value = 0 )
@@ -661,7 +667,7 @@ def summonWindow5():
661
667
662
668
663
669
else : #Non Jeve Stobs worshippers
664
- from tkinter import Button
670
+ from tkmacosx import Button
665
671
backgroundColour = "#252a34"
666
672
foregroundColour = "white"
667
673
buttonColour = "#7289DA"
0 commit comments