-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add Windows installer (fixes #2081) #4418
Conversation
This should allow us to package Trilium for multiple platforms, including generating a Windows installer which is our current target.
Too many modifications in |
f839655
to
f906de5
Compare
f906de5
to
fe82b1d
Compare
I was just testing this out locally myself as well, it seems to work very smoothly and install as expected! I may not be a fan of the light-theme banner, but I'm definitely a fan of this overall 😄 Am I right that this banner can be an animated It's a very seamless transition from install to running and it doesn't have the traditional Windows installation prompt which I personally think is nice. But there are a couple questions I can see coming up from end-users because of this:
I think this is a huge step in the right direction and also opens the door to other types of distributions for mac and linux. It can even help simplify the current build process. |
@rauenzi ,
You're right, by default it's an animated GIF. I just replaced it with something I made really quick in order not to have the default. Feel free to open a PR on top of mine to change it. I would really like it if you kept the "original format" of your animation as well (for me it was a GIMP file, for you it might be something Adobe-related).
Yes I like that as well.
I would say this would not be a very common question for most users, however we can document the path. There is always the possibility to have an MSI installer for those power users that would prefer to have a custom installation dir (including installing in Program Files instead of locally).
Same here, maybe the MSI installer will allow this kind of customization. I'll see what I can do, nevertheless I'd prefer to have a separate PR for it.
The way I see this is that the "squirrel" installer is going to be the most frictionless: no prompts, no configuration, just plug-and-play. I think this will account for at least 90% of users. And this includes automatic updates (which I haven't set up yet). The reasoning for that is that some people prefer things to just work, I have colleagues at work that use Trillium Notes on Windows but they are 5-7 versions behind, because... it just works. Background updates will solve this problem. For the remainder of users, MSI installer.
Absolutely, if/after we get this merged, I'll try to do the same for macOS (.dmg), Linux (.deb/.rpm) and maybe even have a look to see if we can improve flatpak/snap build system. |
Will do once I get some time.
Yeah that's probably a good idea for those users. I think the vast majority of end users will want all those things by default, and just the power users will want customization.
I agree mostly, but I know there are users that use like the paid trilium.cc service where sudden unexpected background updates can cause sync to break and they may not be ready (or able) to upgrade their server instance as well. I think sync is fairly common for a lot of users. |
Closing in favor of TriliumNext/Notes#22. |
electron-build
dependency since it doesn't seem to be used, see commit for more info.Still to be done: