Skip to content

Rerelease the program with the missing packages #6

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

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions DeleteJavaCheckRewritten/Program.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/// <summary>
/// DeleteJavaCheck-rewritten is an improved version from my original DeleteJavaCheck program with more automation
/// Current Version: 2.0
/// Current Version: 2.0.1
/// Changelog:
/// - Custom installs are kept in the app's settings; no more files needed
/// - Checks all possible installations automatically
/// - Rereleased V2.0, but with the missing packages
/// </summary>

using System;
Expand Down Expand Up @@ -100,7 +99,7 @@ static void DestroyOld(string targetFile)
Console.WriteLine("\n");
WriteSection("Checking Old Launcher", "=".ToCharArray()[0]);
string targetDir = @"C:\Program Files (x86)\Minecraft Launcher\game";
if(Directory.Exists(targetDir))
if (Directory.Exists(targetDir))
{
Console.WriteLine("Java Launcher Exists!");
targetDir += targetFile;
Expand Down Expand Up @@ -177,4 +176,4 @@ static void EndProgram()
}
}
}
}
}
4 changes: 4 additions & 0 deletions LATEST.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.0.1
Assembly version: `2.0.8509.35397`
Rereleased V2.0, but with the missing packages

# 2.0
Assembly version: `2.0.8487.18314`
Upgraded to Version 2 because everything changed so much. New framework version, improved experience and new everything.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# DeleteJavaCheck
|Latest Version|Latest Assembly|
|---|---|
|2.0|2.0.8487.18314|
|2.0.1|2.0.8509.35397|

**JavaCheck.jar** is a Java file shipped with the Minecraft launcher. This isn't problematic for most, but those that prefer to use newer versions of Java, or mods that are incapable with older versions of Java, can't modify their profiles to use the version that isn't defaulted for that Java version.
Thankfully, it's easy to bypass this by deleting this file, but is reinstalled after every update, so in the long run, this could be a useful application, especially for those rocking the beta launcher (like I do).

# Instructions
## Downloading
Download the .exe file found in the latest release, and place it somewhere memorable (such as your desktop). This app will only run with manual execution, so you'll be required to run it after every update.
Download the .zip file found in the latest release, and extract it somewhere memorable (such as your desktop), and launch the .exe file inside it. This app will only run with manual execution, so you'll be required to run it after every update.

## Execution
Run `DeleteJavaCheckRewritten.exe`, and if there's no issues, the file should be deleted
Expand Down