4 ms·
There is cargo-deb [0] which is, IMHO, a far superior way to distribute Rust software. I've been hoping for something similar for Mac/PC distribution (.pkg and
by curun1r 9y ago
There is cargo-deb [0] which is, IMHO, a far superior way to distribute Rust software. I've been hoping for something similar for Mac/PC distribution (.pkg and .msi...stuff like homebrew is not a substitute for proper packages). I've been tempted to work on it myself, but haven't found the time. It's not particularly hard to do if you're only scripting the various platform-specific commands, but making something that will output artifacts for all platforms is much harder.
[0] https://github.com/mmstick/cargo-deb https://github.com/mmstick/cargo-deb
- voltagex_ 9y agoI looked into the same kind of thing for Python years ago - it's hard, and not many things get it right (even the new .NET bits get it really wrong). Please: single exe/msi, one click to install/run.
- icebraining 9y agoI've recently built an installer using nsis (+pynsist), it seemed to work fine, but now you're making me worry about what I might have missed.
- voltagex_ 9y agoI don't think pynsis existed when I was investigating this so you're probably fine.
- iknowstuff 9y agoWindows 10's .appx is what you're looking for. https://www.howtogeek.com/285410/how-to-install-.appx-or-.appxbundle-software-on-windows-10/ https://www.howtogeek.com/285410/how-to-install-.appx-or-.ap... I think the old Windows model of installers polluting the registry and disk drive in random places was a very bad idea and it's time to move on from .exe and .msi.