Closed azurejoga closed 10 months ago
That seems a lot better now, much appreciated!
However, there's still no source code for the exe file.
This is an open source project, so all the code for any included exe files needs to be here.
What does it use administrator privileges for?
For directory selection, it might be best to use the current directory by default, rather than asking every time it's launched.
And finally, one potential issue.
If future release zips have this updater in it, what happens when it tries to overwrite itself while extracting the zip?
Sorry for all the extra questions and work, I just want to make sure we get it right before including this.
I will answer your questions one by one.
Okay, I believe everything is ok now... I sent the ps1 in the commit
@CG8516 and now? Ok, ALL right?
Yep, all good!
I made a few adjustments to handle some more edge-cases, and run without administrator privileges by default.
I was a bit wary of including an exe file without a way to build it in a reproducble way, so I've built a small program that will automatically extract and run the script, instead of requiring a 3rd-party tool like ps2exe.
That way anyone with the project files can build a perfect 1:1 copy of the exe file.
It's been moved to this repo, and will be included in the next release.
I changed it as per your desired requests.