#Associate an extension name for launching my app

1 messages · Page 1 of 1 (latest)

south pebble
#

Hi all 😊
I know that launching a software depending on an extension name depends on the OS, but how could I retrieve the path from where a file had been opened with my app?

dark hearth
#

depends on the OS.

on windows your app will be invoked with the path as an input argument, so you may need the single-instance plugin if you want only one instance of your app open at any time and to communicate the path with the primary instance.

Linux should be the same as windows iirc

macOS is a bit fcked up tbh because it likes to be different just for the sake of it. It needs changes in Tao because macOS will invoke a specific interface of the app