Skip to content

Include a CLI with app #3098

Answered by marcus-crane
manterfield asked this question in Q&A
Dec 5, 2023 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

If you'd like another point of reference, I just went through a bunch of this with my own Wails app: https://github.com/marcus-crane/october/releases/tag/v1.9.0-beta1

Figuring out codesigning for macOS was a bit of a pain since the CLI needs to be signed before being inserted into the .app for notarisation if you're doing that whole process.

For Windows, I slightly modify the default nsi project to include the CLI in the installation directory while for Linux, I distribute as a .deb file which puts the CLI in /usr/local/bin which is already (probably) in the user's PATH by default

Personally, as a user, I would just add the location to my PATH (and I have done that for some tools like htt…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@manterfield
Comment options

@marcus-crane
Comment options

Answer selected by manterfield
@manterfield
Comment options

@airtonix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants