-
-
Notifications
You must be signed in to change notification settings - Fork 1
How to package for safari with bepp in plasmo framework #1
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
Comments
Amigo, thank you for opening the issue. Don't worry about the Mac, the idea of the action is that users who don't have macOS can still build extensions for Safari. However, I must mention that to package Safari extensions, bepp makes use of Regarding your question, I've been checking the action and there were some issues preventing correct builds. I'm working on resolving these issues, and I'll notify you soon on how to package the extensions correctly. Thank you for your feedback. |
Good, but I haven't succussed to use bepp yet to check for any bugs. 😉 |
BEPP v1.1.0 is out and fixes the issue of converting from Chrome to Safari during the GitHub action process. You can see how this action is executed in the pull request. view How to upload your extensions to the GitHub releases section with GH Actions and BEPPExample to upload releases of extensions already packaged with bepp:
|
Thanks for breaking it down so well! 🙏 |
The comment on the post indicates that the warning appears when running on systems with Safari versions lower than 15.4, but according to the GitHub Actions documentation, the oldest macOS runner uses Safari 17.3 which you can see here. I don't understand why this warning is occurring, but honestly, I don't think it's the problem. Perhaps the extension's failure in Safari is due to some code incompatibility with the Safari browser itself, rather than being caused by the Chrome-to-Safari conversion by Bepp. Attached is an image of the extension active in Safari. The main issue I notice is that when the extension is active, it blocks access to Twitter. Testing if everything works correctly without access to a macOS environment will likely be a challenge. Even though it may not be related to Bepp, I'll still try to verify it myself from my own machine. If I find a solution, I'll submit a pull request to the project, and if a solution is found that could help in the future, I'll comment it here. Thanks again! |
Yes it is really challenging.
Thank you. |
I've built an extension for chrome in plasmo framework:
plasmo build --target chrome-mv3
plasmo build --target safari-mv3
Plasmo also provides the option for targeting safari-mv3. However, I am uncertain about its significance since it requires additional steps on macOS. Check the related issue for more details. 🤔
How can I use your GitHub Action to build my Chrome extension for Safari? I would appreciate it if you could fork this sample repository and update the GitHub Action so that it builds the Safari version, then push back the installable package (for Safari) to the repo. Unfortunately, I don't have a Mac, and I'm unable to test anything related to this.
It's not clear why Apple is causing challenges for developers on other platforms, considering that the expansion of the Safari ecosystem would ultimately be advantageous for them. It's confusing that they're impeding their own progress – it's akin to shooting themselves in the foot! 😄
The text was updated successfully, but these errors were encountered: