See this command:
defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{ "Path" = "/Users/jpengjun/test.sh"; "Hide" = YES ; }'
I hope test.sh can be executed when I login, and it works well.
But in the plist file, the "Hide" key is set to string and the correct type should be Boolean, does anybody know whether there is a way to assign the key type to "Hide" ?
defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{ "Path" = "/Users/jpengjun/test.sh"; "Hide" = YES ; }'
I hope test.sh can be executed when I login, and it works well.
But in the plist file, the "Hide" key is set to string and the correct type should be Boolean, does anybody know whether there is a way to assign the key type to "Hide" ?