Validate in Windows
This commit is contained in:
parent
475840d7e8
commit
54b2ed7913
Binary file not shown.
|
@ -274,7 +274,7 @@ class Controllers(object):
|
||||||
def cmd_shell_action(self, event):
|
def cmd_shell_action(self, event):
|
||||||
if app.IS_WIN:
|
if app.IS_WIN:
|
||||||
cmd = '"{}"'.format(self.path_python)
|
cmd = '"{}"'.format(self.path_python)
|
||||||
app.open_file(cmd)
|
app.paths.open(cmd)
|
||||||
else:
|
else:
|
||||||
cmd = 'exec "{}"'
|
cmd = 'exec "{}"'
|
||||||
if app.IS_MAC:
|
if app.IS_MAC:
|
||||||
|
@ -286,7 +286,6 @@ class Controllers(object):
|
||||||
app.run(cmd)
|
app.run(cmd)
|
||||||
return
|
return
|
||||||
|
|
||||||
@app.catch_exception
|
|
||||||
def cmd_explore_action(self, event):
|
def cmd_explore_action(self, event):
|
||||||
path = app.paths.get_file(filters='txt')
|
path = app.paths.get_file(filters='txt')
|
||||||
if not path:
|
if not path:
|
||||||
|
@ -389,7 +388,7 @@ def _create_dialog():
|
||||||
'Width': 60,
|
'Width': 60,
|
||||||
'Height': BUTTON_WH,
|
'Height': BUTTON_WH,
|
||||||
'Step': 10,
|
'Step': 10,
|
||||||
'ImageURL': 'install.png',
|
'ImageURL': 'install.svg',
|
||||||
'ImagePosition': 1,
|
'ImagePosition': 1,
|
||||||
}
|
}
|
||||||
dialog.add_control(args)
|
dialog.add_control(args)
|
||||||
|
|
Loading…
Reference in New Issue