Console to system tray - changed launch method for Photoshop

This commit is contained in:
Petr Kalis 2021-05-26 20:02:18 +02:00
parent ace5bcbb9a
commit 4e0210915e

View file

@ -81,7 +81,7 @@ def main(argv):
host_name = os.environ["AVALON_APP"].lower()
if host_name == "photoshop":
from avalon.photoshop.lib import launch
from avalon.photoshop.lib import main
elif host_name == "aftereffects":
from avalon.aftereffects.lib import launch
elif host_name == "harmony":
@ -97,7 +97,7 @@ def main(argv):
if launch_args:
# Launch host implementation
launch(*launch_args)
main(*launch_args)
else:
# Show message box
on_invalid_args(after_script_idx is None)