Hy there, I implemented two major things, those being a dark theme and an actual installer and updater.
The dark theme:
For this, I created two xaml files with the same SolidColorBrush names but with different colors, then I used ResourceDictionary and MergedDictionaries to change the current used file for the theme. After this I had to play with the color values because apparently you have to have layers to your app and yeah, it was a long and boring process of running the app, thinking if it needs to be darker or lighter, then going to the color picker and changing the value accordantly, then copying that into the program and repeating, but it worked!
To make the title bar change color I found out that you need to import some of those weird libraries, again. I don’t understand every part of that function, but it does work.
To change the theme, I removed the custom message box from settings and replaced it with a light/dark toggle for the theme.
The installer and updater:
For this, I used Velopack, which is great! It doesn’t require admin to install, it also has an updater, and it just works! Unfortunately, for the GitHub build action, I had no ideea how to write it, so just used Claude to do it for me, but that’s not really part of the app so it’s ok (I think?). Then, I wanted to have a way for the user to update the app with some confirmation things, because before I just had one button that you clicked, it shows no progress, and if it did find an update it would immediately restart the app, no questions asked. Now, in the bottom right of settings, there is some text that acts like a button which has all the states from let’s say no update found to ready to download to ready to install and more.
That’s pretty much it, thanks for reading!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.