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

[Windows] Support standalone executables #92

Open
tuzz opened this issue Sep 12, 2020 · 0 comments
Open

[Windows] Support standalone executables #92

tuzz opened this issue Sep 12, 2020 · 0 comments

Comments

@tuzz
Copy link

tuzz commented Sep 12, 2020

Hello, thanks for a great tool.

I'm using cargo bundle on macOS to successfully build an .app bundle.

On Windows, it errors when creating the msi bundle (this is already recorded as an issue).

However, my app doesn't really need to be an installer. It's just a simple executable and I was hoping to use cargo bundle to set the icon and metadata so that it can be run as an .exe file directly.

At the moment, I can do this with the winres crate. However, that requires a different set of config that has to be kept in-sync with cargo bundle's config. It also requires a small build script to set the icon and it doesn't support converting from a png, etc.

I was wondering whether it would be possible to roll this functionality into cargo bundle so it's just another --format it supports? That way, many of the people running into the msi problem could use this approach instead if their app is simple enough.

Thanks

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

No branches or pull requests

1 participant