Skip to content

Commit

Permalink
4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
heipiao233 committed Aug 8, 2023
1 parent dc6aa37 commit 4c4b03d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion locales/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.1.0-beta.2
4.1.0
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dmclc",
"version": "4.1.0-beta.2",
"version": "4.1.0",
"description": "Dolphin Minecraft Launcher Core",
"typings": "./lib/index.d.ts",
"module": "./lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Launcher {
specialNatives: Record<string, Library>;
};
private realRootPath = "";
static readonly version = "4.1.0-beta.2";
static readonly version = "4.1.0";
/**
* Create a new Launcher object.
* @throws {@link FormattedError}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/findjava.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function findForWindows(): Promise<Pair<string, string>[]> {
if(!fs.existsSync(pth))continue;
for (const version of fs.readdirSync(pth)) {
const exec = `${pth}\\${version}\\bin\\java.exe`;
if(fs.existsSync(exec))ret.push(new Pair(version, exec));
if(fs.existsSync(exec))ret.push(new Pair(await getJavaVersion(exec), exec));
}
}
}
Expand Down

0 comments on commit 4c4b03d

Please sign in to comment.