We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6b9bf commit 1f85f85Copy full SHA for 1f85f85
manim/__main__.py
@@ -36,7 +36,10 @@ def open_file_if_needed(file_writer):
36
37
for file_path in file_paths:
38
if current_os == "Windows":
39
- os.startfile(os.path.dirname(file_path))
+ if file_writer_config["preview"]:
40
+ os.startfile(file_path)
41
+ if file_writer_config["show_file_in_finder"]:
42
+ os.startfile(os.path.dirname(file_path))
43
else:
44
commands = []
45
if current_os == "Linux":
0 commit comments