cef

command module
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

README

cef

Go bindings for the Chromium Embedded Framework (CEF).

Currently works for macOS, Windows and Linux.

Initial setup required for Windows

  • Download and run the installer from http://www.msys2.org/
  • In the mingw64 msys2 console, run the following:
    • pacman -Syu
    • pacman -Su
    • pacman -S mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-go mingw64/mingw-w64-x86_64-pkg-config msys/git

Initial setup

In the root of the repo, run:

go install

Then add $GOPATH/bin to your $PATH and run:

cef install

This will install the necessary CEF headers and libraries into /usr/local/cef.

Example application

https://github.com/richardwilkes/webapp and https://github.com/richardwilkes/webapp-example use these bindings to create an example desktop application (currently macOS and Windows only).

Updating the CEF version to be used

The CEF version can be updated in the main.go file by changing the desiredCEFVersion variable. If a different CEF version is pulled, the source files should be generated again by running go generate ./... on a macOS machine. Code generation might be possible on other platforms, but has not been tested there.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL