Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

oclif-dev pack to create a single executable file per distribution #368

Open
fboucquez opened this issue Jun 10, 2021 · 1 comment
Open

Comments

@fboucquez
Copy link

Hi team, amazing framework, tank you so much!

Is it possible to generate a simple executable file (like regular pkg does) instead of a tar file when running "oclif-dev pack".
Atm, my clients running on an offline machine need to unzip it and run the executables that can be found inside the ./bin folder.

I would like to send them a .exe or a .bin file that they can just run.

Cheers
Fernando

@udaykor
Copy link

udaykor commented Jul 17, 2021

@fboucquez on a quick thought, Did you try yarn oclif-dev pack:win? This creates exe fles in ./dist/win/

Similarly, try attempt yarn oclif-dev pack:macos and yarn oclif-dev pack:deb. I hope this helps.

The docos are not as good as the framework, I have started using oclif less than a week ago and can see how the docos are at times hard to interpret.

There is a package NSIS that I had to install on macos. The pack:win arg errored with this message so that i could make a win exe from a mac.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants