From dd8b9b2b160f265e16b97e018d79790a13c04f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Fri, 26 Nov 2021 10:06:37 +0100 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 320bb30..e7ed94d 100644 --- a/README.md +++ b/README.md @@ -189,11 +189,13 @@ Other than the version arguments, the argument can be any of the labels listed i ### Debug mode -There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) no actions that would actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them. +There is a variable named `DEBUG` which is set in line 21 of the script. When `DEBUG` is set to `1` (default) or `2` for a variation of debug, no actions that would actually modify the current system are taken. This is useful for testing most of the actions in the script, but obviously not all of them. -Also when the `DEBUG` variable is `1`, downloaded archives and extracted files will be written to the script's directory, rather than a temporary directory, which can make debugging easier. +When the `DEBUG` variable is `1`, downloaded archives and extracted files will be written to the script's directory, rather than a temporary directory, which can make debugging easier. -_Always remember_ to change the `DEBUG` variable to `0` when deploying. +When `DEBUG` variable is `2`, the temporary folder is created and downloaded and extracted files goes to that folder, as if not in DEBUG mode, but installation is still not done. On the other hand blocking processes are checked, the app is reopened if closed, and the user is notified. + +_Always remember_ to change the `DEBUG` variable to `0` when deploying. The installer PKG we provide has `DEBUG=0`. ### Use Installomator with Jamf Pro @@ -203,6 +205,8 @@ Remember to set `DEBUG` to `0`. Then you can use the Installomator script in a policy and choose the application to install by setting the label for argument 4. + + ## What it does When it runs with a known label, the script will perform the following: