YePpHa / YouTubeCenter

YouTube Center is a userscript designed to expand the functionality of YouTube. It includes the ability to download the video you're watching, auto selecting your preferred video quality and much more.
MIT License
2.89k stars 519 forks source link

How can I sign the Safari extension? #2419

Open gastonmorixe opened 7 years ago

gastonmorixe commented 7 years ago

I have a paid Apple Dev Account already and I have created a safari cert.

Steps? I tried using the scripts but I failed :)

Thanks!

YePpHa commented 7 years ago

You need to make sure that Java SDK is installed including Ant as that is used to build the extension files. I know that it's kind of old and not really used anymore, but haven't bothered to update it yet to NodeJS/Gulp. You will also need xar installed on your system (for Windows look in the SDK folder).

Thereafter, you need to make sure that you have placed your certificate in ./cert/safari/ as key.pem.

As soon as all of the above have been done you can start compiling the YouTube Center Safari extension.

$ ant safari
$ ./build-safari.sh

(Look in the README for the ant safari description)

After everything has run you should be all set and the Safari extension should be in the ./dist folder. If any errors occurred while compiling please post the error here and I will take a look at it.

gastonmorixe commented 7 years ago

Awesome. Thanks. Btw.

It would be awesome if you can publish it on the store.

On May 11, 2017, at 8:25 AM, Jeppe Rune Mortensen notifications@github.com wrote:

You need to make sure that Java SDK is installed including Ant as that is used to build the extension files. I know that it's kind of old and not really used anymore, but haven't bothered to update it yet to NodeJS/Gulp. You will also need xar installed on your system (for Windows look in the SDK folder).

Thereafter, you need to make sure that you have placed your certificate in ./cert/safari/ as key.pem.

As soon as all of the above have been done you can start compiling the YouTube Center Safari extension.

$ ant safari $ ./build-safari.sh (Look in the README for the ant safari description)

After everything has run you should be all set and the Safari extension should be in the ./dist folder. If any errors occurred while compiling please post the error here and I will take a look at it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.