Merge pull request #202 from MedNait/patch-1

Update opening file command for adaptability with Windows
This commit is contained in:
Grant Sanderson 2018-04-10 09:47:18 -07:00 committed by GitHub
commit 7f07e24142
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,6 +145,8 @@ def handle_scene(scene, **config):
commands = ["open"]
if (platform.system() == "Linux"):
commands = ["xdg-open"]
elif (platform.system() == "Windows"):
commands = ["start"]
if config["show_file_in_finder"]:
commands.append("-R")