shell-intune-samples icon indicating copy to clipboard operation
shell-intune-samples copied to clipboard

Update check logic leaves Octory in limbo

Open arlogilbert opened this issue 3 years ago • 0 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 😄

arlogilbert avatar Dec 28 '22 23:12 arlogilbert