Commit 65aa40f2 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'fix-osx-prefs'

parents f2853e9f 0d3c18f8
...@@ -326,7 +326,7 @@ static void sys_initloadpreferences(void) ...@@ -326,7 +326,7 @@ static void sys_initloadpreferences(void)
// "path1" : "\/System\/Library\/Fonts" path1: /System/Library/Fonts // "path1" : "\/System\/Library\/Fonts" path1: /System/Library/Fonts
// } // }
snprintf(cmdbuf, MAXPDSTRING, snprintf(cmdbuf, MAXPDSTRING,
"plutil -convert json -r -o - %s.plist " "plutil -convert json -r -o - \"%s.plist\" "
"| sed -E " "| sed -E "
"-e 's/[{}]//g' " "-e 's/[{}]//g' "
"-e 's/^ *\"(([^\"]|\\\\.)*)\" *: *\"(([^\"]|\\\\.)*)\".*/\\1: \\3/' " "-e 's/^ *\"(([^\"]|\\\\.)*)\" *: *\"(([^\"]|\\\\.)*)\".*/\\1: \\3/' "
......
Supports Markdown
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