You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do shell script "if test \\! -d /Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator.disabled; then echo 'I could not locate the disabled XCode plugin. Have you already restored it?'; exit 1; fi"
do shell script "if test -e /Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator; then echo 'There is already a plugin named /Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator\\n\\nI will not overwrite it.'; exit 1; fi"
do shell script "x=/Developer/Applications/Xcode.app/Contents/Library/QuickLook/SourceCode.qlgenerator; sudo mv $x.disabled $x" with administrator privileges
do shell script "qlmanage -r"
display dialog "The XCode plugin has been restored" buttons {"OK"} default button 1