Fix hex-fiend with chmod go=u

Hex Fiend does not correct set 'group' and 'other' permissions and will crash if
a non-owner runs it. The buggy files are fixed by updating their 'group' and
'other' permissions to reflect the 'user' permissions: chmod go=u.
This commit is contained in:
Sean Zhu 2015-03-05 03:21:28 -08:00
parent 5302467d06
commit 9e162d190e
1 changed files with 4 additions and 0 deletions

View File

@ -8,4 +8,8 @@ cask :v1 => 'hex-fiend' do
license :bsd
app 'Hex Fiend.app'
postflight do
system '/bin/chmod', '-R', 'og=u', "#{staged_path}/Hex Fiend.app/Contents/Frameworks/Sparkle.framework"
end
end