bandage 0.8.1: Add binary (#37909)
* bandage 0.8.1: Add binary A shell shim script is needed. A symlink gives the error: This application failed to start because it could not find or load the Qt platform plugin "minimal" in "". Reinstalling the application may fix this problem. This issue has been reported upstream: https://github.com/rrwick/Bandage/issues/22 * shimscript
This commit is contained in:
parent
77dc0ae1ba
commit
5646867dbb
|
@ -10,4 +10,14 @@ cask 'bandage' do
|
|||
homepage 'https://rrwick.github.io/Bandage/'
|
||||
|
||||
app 'Bandage.app'
|
||||
# shim script (https://github.com/caskroom/homebrew-cask/issues/18809)
|
||||
shimscript = "#{staged_path}/bandage.wrapper.sh"
|
||||
binary shimscript, target: 'bandage'
|
||||
|
||||
preflight do
|
||||
IO.write shimscript, <<-EOS.undent
|
||||
#!/bin/sh
|
||||
exec '#{appdir}/Bandage.app/Contents/MacOS/Bandage' "$@"
|
||||
EOS
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue