File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,6 @@ set_app_pref() {
219219 APP_PLIST=" ${FULL_APP_PATH} /Contents/Info.plist"
220220 BUNDLE_ID=" $( $PlistBuddy -c " Print :CFBundleIdentifier" " ${APP_PLIST} " ) "
221221 defaults write " ${BUNDLE_ID} " " ${GPU_SELECTION_POLICY_KEY} " " ${GPU_SELECTION_POLICY_VALUE} " 1> /dev/null 2>&1
222- defaults write " ${BUNDLE_ID} " " ${GPU_EJECT_POLICY_KEY} " " ${GPU_EJECT_POLICY_VALUE} " 1> /dev/null 2>&1
223222 return
224223 fi
225224 toggle_gpu_pref " ${FULL_APP_PATH} " false
@@ -233,7 +232,6 @@ reset_app_pref() {
233232 APP_PLIST=" ${FULL_APP_PATH} /Contents/Info.plist"
234233 BUNDLE_ID=" $( $PlistBuddy -c " Print :CFBundleIdentifier" " ${APP_PLIST} " ) "
235234 defaults delete " ${BUNDLE_ID} " " ${GPU_SELECTION_POLICY_KEY} " 1> /dev/null 2>&1
236- defaults delete " ${BUNDLE_ID} " " ${GPU_EJECT_POLICY_KEY} " 1> /dev/null 2>&1
237235 return
238236 fi
239237 toggle_gpu_pref " ${FULL_APP_PATH} " true
You can’t perform that action at this time.
0 commit comments