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

Install youtube-music via brew #914

Closed
mehdichaouch opened this issue Dec 11, 2022 · 11 comments
Closed

Install youtube-music via brew #914

mehdichaouch opened this issue Dec 11, 2022 · 11 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mehdichaouch
Copy link

mehdichaouch commented Dec 11, 2022

Hello,

I hope you are doing well?

In order to be able to install YouTube Music via brew install youtube-music, I created the cask file needed in my fork, but before opening a Pull Request, I need an action from you, your app need to be signed otherwise it will be not accepted.

image

error
audit for youtube-music: failed
 - Signature verification failed:
/private/tmp/d20221211-74825-nrcloz/YouTube Music.app: code object is not signed at all
In architecture: x86_64

macOS on ARM requires applications to be signed. Please contact the upstream developer to let them know they should sign their app.
Error: 1 problem in 1 cask detected

Do you think signing the app is possible for you?

As example, you can maybe check Insomnia app or Kap app.

BR,

@th-ch
Copy link
Owner

th-ch commented Dec 25, 2022

👋 Indeed, signing requires a paying subscription so is not available at the moment! Though it should not prevent the cask afaik, some others like Stubby Manager are not signed:

$ brew install stubbymanager
$ codesign -dv --verbose=4 /Applications/StubbyManager.app 
/Applications/StubbyManager.app: code object is not signed at all

Trying locally to brew install youtube-music, it works - one just needs to disable quarantine for the app, or install it with brew install youtube-music --no-quarantine

@devnoname120
Copy link

devnoname120 commented Jan 15, 2023

@th-ch As far as I know the official Homebrew Cask repository accepts ad-hoc signatures. So you can just do the following on the future macOS binaries that you release:

codesign --sign - --deep --force *.dmg

You can then add the following install instructions in the README.md file as you mentioned:

brew install youtube-music --no-quarantine

@mehdichaouch
Copy link
Author

@th-ch As far as I know the official Homebrew Cask repository accepts ad-hoc signatures. So you can just do the following on the future macOS binaries that you release:

codesign --sign - --deep --force *.dmg

You can then add the following install instructions in the README.md file as you mentioned:

brew install youtube-music --no-quarantine

@devnoname120 it also mean that we can test this on our side 🤔

@mehdichaouch
Copy link
Author

In WIP: Homebrew/homebrew-cask#148404 ...

@JellyBrick JellyBrick added the enhancement New feature or request label Oct 7, 2023
@mehdichaouch
Copy link
Author

mehdichaouch commented Oct 8, 2023

Hi there !

I heard that @th-ch as new maintainers to this repository (hello @JellyBrick), that great news 🎉 and thanks for the latest release 2.0 😉.

So if someone want to achieve this issue with me, it would be nice to maintain local version of youtube-music with just a brew update youtube-music.

Waiting from your help.
Best

@JellyBrick JellyBrick added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 8, 2023
@avichou
Copy link

avichou commented Oct 22, 2023

is the issue stalled ?

@JellyBrick
Copy link
Collaborator

JellyBrick commented Oct 22, 2023

is the issue stalled ?

I can't help this issue because I'm not using macOS... (and, I don't know how to maintain a package in Brew)

@JellyBrick
Copy link
Collaborator

Resolved by #1357

@shredthaGNAR
Copy link

Experencing a problem when upgrading/installing using provided brew command.

Get error:Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest

Tried to remove it still showing. Was working at some time in the past and now I just install via GUI APP.

Anyone else experience this? Used this code to install brew install --cask https://raw.githubusercontent.com/th-ch/youtube-music/master/youtube-music.rb

and also tried the old brew install youtube-music

Any suggestions? Thanks

@JellyBrick
Copy link
Collaborator

Experencing a problem when upgrading/installing using provided brew command.

Get error:Error: No such file or directory @ rb_sysopen - https://api.github.com/repos/th-ch/youtube-music/releases/latest

Tried to remove it still showing. Was working at some time in the past and now I just install via GUI APP.

Anyone else experience this? Used this code to install brew install --cask https://raw.githubusercontent.com/th-ch/youtube-music/master/youtube-music.rb

and also tried the old brew install youtube-music

Any suggestions? Thanks

I think it's related to #1514

@indianets
Copy link

indianets commented Dec 27, 2023

#issuecomment-1869965602

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants