We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3871a5f commit b3d8df4Copy full SHA for b3d8df4
lib/setup-docker.js
@@ -162,6 +162,8 @@ async function run() {
162
set -x
163
164
165
+VmnetdVersion=$(cat /Applications/Docker.app/Contents/Info.plist | tail -5 | head -1 | cut -d '>' -f 2 | cut -d '<' -f 1)
166
+
167
cat <<EOF | tee /tmp/com.docker.vmnetd.plist
168
<?xml version="1.0" encoding="UTF-8"?>
169
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -188,7 +190,7 @@ cat <<EOF | tee /tmp/com.docker.vmnetd.plist
188
190
</dict>
189
191
192
<key>Version</key>
- <string>59</string>
193
+ <string>${VmnetdVersion}</string>
194
195
</plist>
196
EOF
0 commit comments