Giter Site home page Giter Site logo

angablue / exe Goto Github PK

View Code? Open in Web Editor NEW
47.0 2.0 0.0 187 KB

Build a portable binary for Windows systems using Vercel's pkg

Home Page: https://www.npmjs.com/package/@angablue/exe

License: GNU Lesser General Public License v3.0

JavaScript 3.01% TypeScript 96.99%
nodejs executable binary build javascript windows typescript

exe's Introduction

๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Software Engineer

Interested in creating a new website? Need something automated?

๐ŸŒWebsites
โž•Web Extensions
๐Ÿ–ฅ๏ธDesktop Applications
๐Ÿ”งCLI Tools
๐Ÿ”ฎReverse Engineering

Checkout my portfolio to see what I've made!

๐Ÿ’ฌ Contact

Feel free to message me on through any of the methods below.

๐Ÿ“ง Email[email protected]
๐Ÿ’ฌ Discord@angablue

exe's People

Contributors

angablue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

exe's Issues

Null coalescing

Hello,
It's kind of weird but I wanted to ask what you think.

Due to some hardware limitations (using embedded hardware that has to support old versions since it is in the wilderness) my limitation is node 12.
Null coalescing has arrived in node in version > 14
When trying to make an exe with node12 I get an error on coalescing on this line

const args = [options.entry, ...(options.pkg ?? []), '-t', options.target ?? 'latest-win-x64', '-o', options.out];

I tried to just edit it out and then everything works :D

    const args = [options.entry, ...(options.pkg !== undefined ? options.pkg : []), '-t', options.target  !== undefined ? options.target : 'latest-win-x64', '-o', options.out];

I was wondering if this would be possible on your side so it can be used as part of the CI and npm install, and for your great package to support node 12

I am happy to create the PR etc

Thanks!

throw new TypeError('Invalid binary format')

Describe the bug
I cannot build my application with your lib
image

To Reproduce
The config was showed in the above picture

Expected behavior
The build should be processed

Additional context
I bundle with additional asset, it can be configed via assets in package.json when usingpkg, but I don't find where to add assets using this lib

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.