Open
Description
Hi,
Not sure if it should be a priority to do anything with this, or just add as a NB to the documentation.
This will not work, scenario 1:
{
"file": "/Library/installapplications/userscripts/depnotify_user_launcher.py",
"hash": "sha256_hash_goes_here",
"name": "DEPNotify User Launcher",
"type": "userscript"
}
This will work, scenario 2:
{
"file": "/Library/installapplications/userscripts/depnotify_user_launcher.py",
"hash": "sha256_hash_goes_here",
"name": "DEPNotify User Launcher",
"type": "userscript",
"url": "https://raw.githubusercontent.com/erikng/installapplicationsdemo/master/installapplications/scripts/user/depnotify_user_launcher.py"
}
The difference is that in scenario 1, everything is included in the InstallApplication.pkg, in scenario 2, it is downloaded from the Internet.
In scenario 1, the userscripts folder does exist at the time installapplications.py is checking for existance of needed folders (lines: 474-479), which will bypass the creation of the folder /var/tmp/installapplications (which again is needed for /var/tmp/installapplications/.userscript).
K
Metadata
Metadata
Assignees
Labels
No labels