bp88 / JSS-Scripts

Random scripts for use in the Jamf Pro
188 stars 61 forks source link

OSUpdateNotifier: wrong data type when set ForceUpdateStartTimeString value #36

Open phu-ngo opened 2 years ago

phu-ngo commented 2 years ago

Line 977:

issue: fix the data type from integer to string setPlistValue "$BundleID" "ForceUpdateStartTimeString" "integer" "$ForceUpdateStartTimeString" "$DeprecationPlist"

fix: setPlistValue "$BundleID" "ForceUpdateStartTimeString" "string" "$ForceUpdateStartTimeString" "$DeprecationPlist"