remove test from if statement

parent 6f004a24
...@@ -1326,7 +1326,7 @@ getresolution() { ...@@ -1326,7 +1326,7 @@ getresolution() {
scale_factor="$(/usr/libexec/PlistBuddy -c "Print DisplayAnyUserSets:0:0:Resolution" /Library/Preferences/com.apple.windowserver.plist)" scale_factor="$(/usr/libexec/PlistBuddy -c "Print DisplayAnyUserSets:0:0:Resolution" /Library/Preferences/com.apple.windowserver.plist)"
if [ "${scale_factor%.*}" == "1" ]; then if [ "${scale_factor%.*}" == "2" ]; then
resolution="${resolution// @/@2x @}" resolution="${resolution// @/@2x @}"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment