unitycoder / UnityLauncherPro

Unity Hub Alternative Project Launcher with time saving features!
MIT License
490 stars 56 forks source link

Project list refresh and startup bug fix #144

Closed ReDarkTechnology closed 9 months ago

ReDarkTechnology commented 10 months ago

I encountered some problems and decided to make a fork of it, this is my first pull request so I hope this contribution isn't breaking much

Anyway here's the stuff that I fixed:

I remade the whole GetElapsedTime because that is the main bug I wanted to fix, case scenario is when the date time desync or goes backwards, the DateTime it's trying to display is a minus time, when that happened, I made it to just say "Right now"

unitycoder commented 10 months ago

thanks, i'll have a look!

unitycoder commented 10 months ago

Update Project list after adding editor looks fine, will add it soon.

For the GetElapsed, i did something similar in Dev branch just recently, it also removes the processDot part, so if you want to have a look or even test if that works for you: https://github.com/unitycoder/UnityLauncherPro/commit/227eac3030858633a21bc7cb845d15559c06a3bc (it includes those plural "s" values too)

ReDarkTechnology commented 9 months ago

Tested it, that fix also works too in that specific case!

unitycoder commented 9 months ago

Ok good! i'll close this one and add the project list refresh manually (not smart enough to merge 1 part of this request : )

it will go into dev branch for now, until i merge back & make new build.