Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

2.0 Release

Latest
Compare
Choose a tag to compare
@Ryah Ryah released this 09 Aug 02:02
· 26 commits to main since this release
a018553

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.