microsoft / shell-intune-samples

Sample shell scripts for Intune admins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update check logic leaves Octory in limbo

arlogilbert opened this issue · comments

On line 373-377 in your app installer scripts for mac where it says

    # App is installed, if it's updates are handled by MAU we should quietly exit
    if [[ $autoUpdate == "true" ]]; then
        echo "$(date) | [$appname] is already installed and handles updates itself, exiting"
        exit 0;
    fi

You may want to insert a updateOctory installed just before the exit 0 - otherwise Octory will eternally wait for the install to kick off, which if an app is marked as mandatory and users can't quit without mandatory apps installing, could result in a user being effectively locked out of their machine (partly due to an Octory bug where the force quit keys don't work in blurred mode).

I'd submit a pull request but it's a lot of different files that need to be edited 😄