GithubHelp home page GithubHelp logo

Comments (3)

knightbenax avatar knightbenax commented on June 3, 2024

Never mind. Figured it out. Posting this for anyone from the future. Create a new branch in a format that matches the available cef_binary from Spotify. For example for cef_binary 4183, you create the branch cef_4183 Change branch.txt in the repo to the name of the branch too.

Then run scripts/setup.sh in the root folder to download the binary

from cef.swift.

lvsti avatar lvsti commented on June 3, 2024

For the record:

it is true that the setup script decides on the binary to download based on the branch name and what it sees in the branch.txt file, but even if you get it to pull a newer version, there is no guarantee that it will work with what has been implemented so far. Enabling a new CEF version in CEF.swift is unfortunately a manual process, I have to create the Swift bindings for the new APIs and apply occasional changes myself.

If you are lucky, then yes, you can check out the latest supported branch, then create a new branch on top of it with the hack you described above, and you can even build a working framework that e.g. has some critical bugfix included. But, make no mistake, you won't find any of the new APIs on the Swift interface.

from cef.swift.

knightbenax avatar knightbenax commented on June 3, 2024

Oh yes. You are right, there are no Swift bindings for the new API. If you are brave enough, you can write the bindings yourself. My case was just to bump to 85, because it fixed a bug with transparency being broken in off screen rendering.

Had to fix a few errors but it complied and ran well after.

from cef.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.