mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
add new process information to mac launch arguments
This commit is contained in:
parent
05d24382a4
commit
5cf841b2ef
2 changed files with 2 additions and 2 deletions
|
|
@ -31,4 +31,4 @@ class LaunchWithTerminal(PreLaunchHook):
|
|||
if len(self.launch_context.launch_args) > 1:
|
||||
self.launch_context.launch_args.insert(1, "--args")
|
||||
# Prepend open arguments
|
||||
self.launch_context.launch_args.insert(0, ["open", "-a"])
|
||||
self.launch_context.launch_args.insert(0, ["open", "-na"])
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class StandAlonePublishAction(PypeModule, ITrayAction):
|
|||
args = get_pype_execute_args("standalonepublisher")
|
||||
kwargs = {}
|
||||
if platform.system().lower() == "darwin":
|
||||
new_args = ["open", "-a", args.pop(0), "--args"]
|
||||
new_args = ["open", "-na", args.pop(0), "--args"]
|
||||
new_args.extend(args)
|
||||
args = new_args
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue