adrianmteo / Luna

Automatic dark mode for Windows 10
MIT License
278 stars 12 forks source link

Do you have plans for an UWP App version? #12

Closed marck7jr closed 4 years ago

marck7jr commented 4 years ago

Hi! How are you? Well, I read your code and I notice that is a WPF App, right? So I started to question my self, why did you not try to make an UWP App instead. Because, honestly, the app looks so awesome, congrats, but I missed the UI pattern from Windows 10 and some other cool APIs available in Windows Runtime like notifications, live tiles and some others. So I need to know, do you have any plan to port it for UWP? We can access registry using an "alternative" executable using FullTrust capibility. If yes, I can help you with that. I already have in mind to port it after all, but I don't know how to give you the credits. Thank you for attention and congrats.

adrianmteo commented 4 years ago

Hi @marck7jr, indeed it's a WPF C# app. I've started initially creating an UWP (and love how UWP looks) but for me it was a troubling task to access the registry and the task scheduler. I want to add more features to the app (I'm working on changing the Windows theme based on time - that includes cursors, sounds, slideshows, etc.). Those features still require a more "low" level access to Windows and UWP is too sandboxed.

Thank you for your support! You can port the app in UWP and let me know the progress, code example or if it supports the features present in this initial release. I am curious of your approach.

Also, if I port it to UWP I would like it to publish to the Store but I think it may get rejected because it accesses forbidden parts of the OS.

marck7jr commented 4 years ago

I make some progress to the UWP version, but I don't know if he could support for calling .exe files inside WindowsApps folder (where the UWP apps are installed), but I know that taks can be scheduled with reg like showed in this article. Until now I didn't tried to register the taks yet, but I can use FullTrustProcessLauncher to a WPF App to perfome some actions perfectly.

image

How do you prefer to read the code? Pull Request? Or another repository?

adrianmteo commented 4 years ago

@marck7jr This is great but the first I suggest you to do is to see if you are able to:

These are crucial for the app to do what it does, otherwise it is just a pretty UI 😢

adrianmteo commented 4 years ago

This will not be implemented. Closing this ticket.