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

Add the manifest version 2 to be usable by CEF #2

Open
Lecrapouille opened this issue May 5, 2022 · 0 comments
Open

Add the manifest version 2 to be usable by CEF #2

Lecrapouille opened this issue May 5, 2022 · 0 comments

Comments

@Lecrapouille
Copy link
Contributor

@xigh

Compiler cefclient (Linux) apres notre build.py:

cd '$WORKSPACE_STIGMEE/godot/gdnative/browser/thirdparty/cef_binary/build'
ninja -j8 cefclient

Lancer l'extension donnée en exemple de cefclient:

cd $WORKSPACE_STIGMEE/godot/gdnative/browser/thirdparty/cef_binary/build/tests/cefclient/Release/
./cefclient --use-views --load-extension=$WORKSPACE_STIGMEE/godot/gdnative/browser/thirdparty/cef_binary/tests/cefclient/resources/extensions/set_page_color/

On doit voir une icone un carré coupé en 4 parties: rouge, bleue, jaune, vert.

Lancer l'extension Stigmark avec cefclient:

./cefclient --use-views --load-extension=$WORKSPACE_STIGMEE/packages/stigmark/ext/chrome-edge-brave/

elle ne doit pas marcher avec le manifeste qui est en version 3. Quand je le remplace par le manifest v2 suivant, ca fonctionne
workspace_stigmee/packages/stigmark/ext/chrome-edge-brave/manifest.json

{
  "name": "A browser action with a popup that changes the page color",
  "description": "Change the current page color",
  "version": "1.0",
  "permissions": [
    "tabs", "http://*/*", "https://*/*"
  ],
  "browser_action": {
      "default_title": "Set this page's color.",
      "default_icon": "icons/BMButton.png",
      "default_popup": "popup.htm"
  },
  "manifest_version": 2
}

cefstigmark-ouf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant