osascript -e 'do shell script " NEUX_SUCESS_DELETED=false; if ! pkgutil --pkg-info com.NeuxPower.NXPowerLite-Desktop.pkg 2>/dev/null 1>&2 && ! pkgutil --pkg-info com.NeuxPower.NXPowerLite.pkg 2>/dev/null 1>&2; then echo \"The software has already been uninstalled.\" exit 1 fi if [ -d \"/Applications/NXPowerLite Desktop\" ]; then pluginkit -i com.NeuxPower.NXPowerLite-Desktop.NXPowerFinderExtension -e ignore rm -rf \"/Applications/NXPowerLite Desktop\" NEUX_SUCESS_DELETED=true fi pkgutil --forget com.NeuxPower.NXPowerLite-Desktop.pkg 2>/dev/null 1>&2 pkgutil --forget com.NeuxPower.NXPowerLite.pkg 2>/dev/null 1>&2 if [ $NEUX_SUCESS_DELETED = true ]; then echo \"The software was removed.\" fi " with administrator privileges'