-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Description
Not sure what's going on, they work when QZ Tray is launched from Terminal (e.g. /Applications/QZ Tray/Contents/MacOS/QZ Tray) but not when started from other means such as automatic startup, Dock or Spotlight.
@Vzor- I don't know if there's just some wacky permissions going on trying to write to the Desktop folder from a subprocess? If that's the case, we can probably adjust our tests to write somewhere else. What's weird is we write our "Zip Logs to Desktop" there but maybe the subprocess interferes with those permissions.
To reproduce:
ant pkgbuild -Dprovision.file=/Users/owner/tray/test/qz/installer/provision/resources/provision.json- Install
Notice that this portion of the code didn't run properly:
| echo "$date Successful provisioning test from '$shell': $script" >> "$user/Desktop/provision.log" |
| echo "$date Successful provisioning test from '$shell': $script" >> "$user/Desktop/provision.log" |