Re: [Homebrew/homebrew-cask] Add `subsync.app` (#84745)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-21.smtp.github.com
Size: 2229 Bytes
Create: 2020-06-23
Update: 2020-06-24
Score: 0
Safe: Yes

Outbound domains: github.com |

@zx8 commented on this pull request.


In Casks/subsync.rb:

> +  name 'subsync'
+  homepage 'https://subsync.online/'
+
+  app 'subsync.app'
+  # shim script (https://github.com/Homebrew/homebrew-cask/issues/18809)
+  shimscript = "#{staged_path}/subsync.wrapper.sh"
+  binary shimscript, target: 'subsync'
+
+  preflight do
+    IO.write shimscript, <<~EOS
+      #!/bin/sh
+      exec '#{appdir}/subsync.app/Contents/MacOS/subsync' --cli "$@"
+    EOS
+  end
+
+  zap trash: [

067f184

As a side note, would be cool if brew cask style --fix could detect and auto-fix this?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.