1 year ago

#358882

test-img

Ceren Keklik

EXTENSIONS: convert Firefox extension to Safari extension

I am trying to convert my firefox extension to a safari extension. To do that, I used these codes xcrun safari-web-extension-converter /path/to/extension . In my package json, I wrote a script :

"start:safari": "npm run-script build:safari; xcrun safari-web-extension-converter ./dist --force --copy-resources --project-location ./safari ",
"build:safari": "cross-env TARGET=safari webpack --progress --config webpack.prod.js",

When I run 'start:safari' script it opens xcode. Then I build it, there occurs an error: enter image description here

Probably because of that, my setIcon API not working. Also there is no error in console. How can I fix that problem? What is the reason?

firefox-addon

safari-extension

manifest.json

chrome-extension-manifest-v2

0 Answers

Your Answer

Accepted video resources