Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate windows installer. #1726

Merged
merged 23 commits into from
Nov 15, 2024
Merged

Generate windows installer. #1726

merged 23 commits into from
Nov 15, 2024

Conversation

fnando
Copy link
Member

@fnando fnando commented Nov 12, 2024

What

Create installer for Windows.

CleanShot 2024-11-12 at 16 07 35

CleanShot 2024-11-12 at 16 09 35

CleanShot 2024-11-13 at 10 32 47

Why

This is a first step on making stellar-cli available on winget.

Known limitations

N/A

@fnando fnando force-pushed the win-installer branch 3 times, most recently from c08caac to bc6e5a0 Compare November 12, 2024 23:47
@fnando fnando marked this pull request as ready for review November 12, 2024 23:48
@fnando fnando self-assigned this Nov 13, 2024
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice 👏🏻. One ask otherwise lgtm.

.github/workflows/binaries.yml Outdated Show resolved Hide resolved
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Three more questions.

Did the design folks provide the ico? Looks like the stellar.ico is a white on black icon. It's more common for the black on white icon to be used, so we should probably use it, or check in with the design folks.

The EnVar plugin is embedded as a binary and binaries are always a risk. Given the cli handles keys, we should be particularly careful about embedding the binary especially if we haven't built it from source ourselves. Even if we have built it ourselves isn't great. What do we need EnVar for? Can we get away without it?

The license for EnVar looks custom, or maybe based off the zlib/libpng licenses. The license looks straightforward to me personally, but we need the legal team to approve it before embedding.

@fnando
Copy link
Member Author

fnando commented Nov 13, 2024

Did the design folks provide the ico?

Didn't run this by them, but I've switched to white bg with black foreground. The icon's quality is super low, so it doesn't really matter (without it, it's just a blue square).

The EnVar plugin is embedded as a binary and binaries are always a risk. Can we get away without it?

We can't (or at least, shouldn't). That's the recommended way. Trying to manually handle the PATH can lead to the path being truncated/corrupted (as stated in their docs).

The license for EnVar looks custom, or maybe based off the zlib/libpng licenses. The license looks straightforward to me personally, but we need the legal team to approve it before embedding.

I'll run this by them.

@fnando
Copy link
Member Author

fnando commented Nov 13, 2024

@leighmcculloch this is good to go! Just tested this installer and it worked! 🎉

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggestion, regardless lgtm. 👏🏻

installer.nsi Outdated Show resolved Hide resolved
installer.iss Outdated Show resolved Hide resolved
installer.iss Outdated Show resolved Hide resolved
@fnando fnando merged commit 355905d into main Nov 15, 2024
29 of 31 checks passed
@fnando fnando deleted the win-installer branch November 15, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants