Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Link app with a wrap script #38241

Closed
pynixwang opened this issue Sep 4, 2017 · 2 comments
Closed

Feature request: Link app with a wrap script #38241

pynixwang opened this issue Sep 4, 2017 · 2 comments

Comments

@pynixwang
Copy link

Description of feature/enhancement

cask spec has a binary dsl, but most of cask cant use because it needs a wrap script, can cask provide a command to wrap and link it?

Justification

for command line user

Example use case

brew cask link google-chrome
create a bash script in /usr/local/bin and put wrap script.
'/Applicaiton/Google Chrome' "$@"

now you can type google-chrome in command line

@pynixwang pynixwang changed the title Feature request: Feature request: Link app with a wrap script Sep 4, 2017
@commitay
Copy link
Contributor

commitay commented Sep 4, 2017

Implementing shimscripts is an open issue. #18809

Currently we use preflight to write a shimscript but this discouraged and only used in specific situations.

https://github.com/caskroom/homebrew-cask/blob/534f255c7bc9eb6c8153c86fc22ed2c821c8cff2/Casks/vlc.rb#L14-L24

@commitay commitay closed this as completed Sep 4, 2017
@pynixwang
Copy link
Author

@commitay I means do this wrap by user if the package maintainer does 'nt provider it in cask spec.

@lock lock bot locked as resolved and limited conversation to collaborators May 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants