Closed arguiot closed 2 years ago
Haven't try it yet. I would do it when I'm free. PRs are welcome 😄
I got the extension working in Safari locally with the following steps:
# In github-file-icons/
npm run build && xcrun safari-web-extension-converter build
This creates and opens an Xcode project
Thanks! This still works 👍🏽
@ptrkcsk did you find a way to keep the extension after a reboot? I have to read it after a reboot.
edit: it seems safari just reset the "enable unsigned..." when I restarted.
i have the same issue
It seems like to get the extension to be signed you have to fork out the $100 to add it to the appstore/get a developer certificate to sign it. https://stackoverflow.com/questions/39927598/can-you-distribute-a-safari-app-extension-outside-the-mac-app-store
I'm happy to put it on the App Store. Any one interested in contributing to the fees? From browsing other repos it looks like a GitHub action can be setup to build and deploy it to the App Store. https://preece.dev/2020/06/ios-testflight-deploy-with-github-actions/. If I do it, I'd probably make a separate repo that checks here for pushes on master once a day and build a new version where there's been an update. @homerchen19 what do you think?
@ptrkcsk I took the plunge :D I had to tweak a few files in the extension converter output to make it build a usable package. Let me know if they work for you w/out turning on the unsigned option in Safari.
I got a GitHub action to build the extension using my cert, here's a build with the app you can download. After unzipping It needs to go into "applications" before running.
https://github.com/christopherpickering/github-file-icons/actions/runs/2551948841
Here's a build in the App Store: https://apps.apple.com/app/file-icons-for-github/id1631366167
It would be great 👍 if there were a Safari version of it 😊.