Giter Site home page Giter Site logo

Linux support about guppy HOT 4 CLOSED

joshwcomeau avatar joshwcomeau commented on September 15, 2024
Linux support

from guppy.

Comments (4)

patcito avatar patcito commented on September 15, 2024 1

This worked great, I was able to build it on linux, here's the compressed dir with the Guppy binary in it for anyone interested https://drive.google.com/file/d/1URc4AgxsXXayLCt7U_Rpqz-aUab3zGnk/view?usp=sharing

from guppy.

patcito avatar patcito commented on September 15, 2024

I tried running it on linux by just cloning the repo and running yarn start. Worked fine with zero modifications, I was able to create a gatsby app and start it. If you're on linux, looks like guppy should work as is unless I missed something :)

Edit: haven't tried the installer though I guess that's the part that needs to wait for Electron Builder.

screenshot from 2018-07-15 14-22-09
screenshot from 2018-07-15 14-22-23
screenshot from 2018-07-15 14-22-29
screenshot from 2018-07-15 14-22-57
screenshot from 2018-07-15 14-23-21

from guppy.

joshwcomeau avatar joshwcomeau commented on September 15, 2024

Awesome! Thanks for checking, @patcito. I don't currently have linux installed anywhere, but I assumed most things should just work. Glad to see that assumption was valid :D

I mentioned #26 as a possible semi-blocker, but if someone wants to just use electron-packager to add it, it should be pretty straightforward. Here's what I imagine, in package.json:

    "package:mac": "electron-packager . --platform=darwin --arch=x64 --icon=src/assets/icons/mac/logo.icns --prune=true --out=release-builds --overwrite",
+   "packge:linux": "electron-packager . --platform=linux --prune=true --out=release-builds --overwrite",
-    "package": "GENERATE_SOURCEMAP=false npm run build && npm run package:mac",
+    "package": "GENERATE_SOURCEMAP=false npm run build && npm run package:mac && npm run package:linux",

Piecing this together from the electron-packager docs. No icon is necessary since it'll use the one specified in main.js.

I'd do this change myself, but I don't have an OS to test on. I'll need to get some VMs set up going forward so that releases can be checked before shipping.

from guppy.

joshwcomeau avatar joshwcomeau commented on September 15, 2024

Fixed in #55, will be released soon (today or tomorrow)

from guppy.

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.