Coder Social home page Coder Social logo

go-astilectron's Introduction

A fork of go-astilectron that makes the minimal amount of changes required to get it working under FreeBSD for my projects. Everything documented there still applies to this except for automatic downloading of the zip files not being supported on FreeBSD. If you don't intend on targetting FreeBSD, then I recommend you use the original as this will most likely be slightly out of date, though I do intend to pull changes from the original every so often. If you are interested in this, I don't support automatically downloading the FreeBSD version because 1) the build of electron I use for FreeBSD only provides pkg files (so I would need to host zip files) and 2) I embed (vfsgen works good for this) the electron zip files in my application binaries, so me spending the small amount of time required to add the aforementioned functionality would not be a good use of my time. If you want to run astilectron on FreeBSD, you can also do it without this:

  1. In astilectron.go, add freebsd to the validOSes map.

  2. In paths.go, add freebsd's binary path to the initAppExecutable function. If you package it the same way I do, it's the same as Linux.

The above is basically all that has been changed (I also added a panic when trying to download the FreeBSD version automatically as, once again, that's not supported). If you do the above, you should have a functional astilectron build on your FreeBSD system assuming you've got embedding setup properly.

go-astilectron's People

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.