Releases: Ryah/Powercord-Utilities
2.0 Release
2.0 version since this now requires admin privileges
I'm considering this my first actual release since this is the one I'm most proud of.
Can now detect and install prerequisites (Git/NodeJS/Discord Canary) automatically with Chocolatey. Also prompts you to auto install Chocolatey if it's not installed, which is why it's being run as admin.
Had to figure out how to deescalate an admin window without interrupting the main script so the Powercord installation can run as it's supposed to. For now the best solution I could find was to kill all node.exe process and use runas with the Basic User trust level, then have the script detect node.exe in the background every 3 seconds. If node.exe is closed, the script moves on ( /wait wouldn't work for some reason ¯\_(ツ)_/¯ )
Extremely hacky solution to a problem I know can be fixed by just not having the entire script run as admin, but I was too far deep into this solution to back out by the time I thought of that. So until I get the motivation to work that piece of code out, it's staying.
Also, I'm not going to release any exe's for now. Having it privilege itself to admin makes the conversion from bat to exe break and I couldn't care less about fixing it at the moment. I don't know why I wrote this in Batch. This started out just by me wanting to put NTTS's scripts in a small hub, but it's now grown to an almost 600 line batch file. I hate myself.
Always read the source of random scripts before you run them.
1.1.0 Release
Automated Open/Close of Discord during Install/Uninstall. Pretty much it.
I'm also providing an exe build for ease of use. Not entirely sure if it triggers any AV due to it just being a bat file converted straight to exe.
In the event you can't run it (or are just suspicious of random exe files, which you should be), use the .bat file.