(*args)
| 151 | |
| 152 | |
| 153 | def openFolderClick(*args): |
| 154 | i = CURRENT_SELECTED_INDEX |
| 155 | fullFilePath = os.path.join(FOLDER_OF_THIS_FILE, PROGRAMS[i]['filename']) |
| 156 | |
| 157 | if sys.platform == 'win32': |
| 158 | os.system('explorer /select,"' + fullFilePath + '"') # TODO - this doesn't open the right folder |
| 159 | elif sys.platform == 'darwin': |
| 160 | subprocess.Popen(["open", "-R", fullFilePath]) |
| 161 | elif _executable_exists('nautilus'): |
| 162 | subprocess.Popen(['nautilus', '-s', fullFilePath]) |
| 163 | elif _executable_exists('pcmanfm'): |
| 164 | subprocess.Popen(['pcmanfm', FOLDER_OF_THIS_FILE]) |
| 165 | else: |
| 166 | pass # TODO - Figure out support for other file managers (dolphin, konqueror, etc.) |
| 167 | |
| 168 | |
| 169 | def quitLauncher(*args): |
nothing calls this directly
no test coverage detected