Skip to content

Commit

Permalink
[Mac OS] Fix Edge Updater configuration steps (actions#8569)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpolikarpov-akvelon authored Oct 19, 2023
1 parent 3e7beab commit 10d8554
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/macos/provision/core/edge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ popd > /dev/null
# Configure Edge Updater to prevent auto update
# https://learn.microsoft.com/en-us/deployedge/edge-learnmore-edgeupdater-for-macos

mkdir "Library/Managed Preferences"
sudo mkdir "/Library/Managed Preferences"

cat <<EOF > "Library/Managed Preferences/com.microsoft.EdgeUpdater.plist"
cat <<EOF | sudo tee "/Library/Managed Preferences/com.microsoft.EdgeUpdater.plist" > /dev/null
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
Expand All @@ -57,6 +57,6 @@ cat <<EOF > "Library/Managed Preferences/com.microsoft.EdgeUpdater.plist"
</plist>
EOF

chown root:wheel "/Library/Managed Preferences/com.microsoft.EdgeUpdater.plist"
sudo chown root:wheel "/Library/Managed Preferences/com.microsoft.EdgeUpdater.plist"

invoke_tests "Browsers" "Edge"

0 comments on commit 10d8554

Please sign in to comment.