New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add batch file for easy install/remove #18
base: main
Are you sure you want to change the base?
Conversation
There's a really big issue with this workaround. It assumes that your oculus server is installed in the default location. Without giving path manually, or setting Oculus path into $PATH, as far as I can't tell, you can't determine that at runtime |
@dinckelman Good point, on that note. We do in fact have a way to check that, we have the OCULUSBASE environment variable! @KptnKMan Instead of pre-defining the Oculus installation location, please make use of the OCULUSBASE environment variable to determine where to place files. |
Thanks for the heads-up. I'm in the middle of fixing this, so hang tight for a patch. Should be ready soon |
Patch submitted, waiting on @KptnKMan to approve the PR here. Furthermore, this can be updated again, to check latest release hash against what's currently installed. With what we have now, the script simply checks if there's a backup present, and if so, it'll ask what to do. We all know that assumptions are bad, so it'd make sense to check what is actually in the folder |
Copy and Paste of the same comment from the patch: So I think the point of this script purposefully NOT being Powershell is missed here. I have updated the script after I saw the first comment, but I didn't see the rest until now. Again, the point is that batch is more compatible with more systems, and I think it will work for more people, and easier, without then needing to configure Powershell first. So, the patch is rejected. On a final note, it would have taken like 2 lines extra just to add %OCULUSBASE% but hey, lets use our Powershell skills I guess. |
I've also made sure to test this script on different Windows OSs because not everyone uses latest Windows 10. The purpose is compatibility. |
I created this INSTALL/REMOVE script for easy installation/removal of the OculusKiller mod.
I have tested this script extensively, and it works without issues in all my testing on Windows 10 with latest updates.
The use of this script is pretty easy, create a folder anywhere, and place the modified OculusDash.exe and this script in that folder.
This folder can be anywhere on your PC, I created a folder in My Documents, and run it from there. You could put it anywhere, as long as the modified OculusDash.exe is there as well.
Always run the script AS ADMINISTRATOR, or you will get an "Access Denied" error.
I would recommend including this script with further releases, as a combined zip file which will make install and removal easy.