mirror of
https://github.com/amiayweb/Hytale-F2P.git
synced 2026-02-26 12:11:45 -03:00
fixing
This commit is contained in:
@@ -56,15 +56,9 @@ async function handleFirstLaunchCheck(progressCallback) {
|
||||
try {
|
||||
const config = loadConfig();
|
||||
|
||||
// Initialize version_branch and version_client if not set
|
||||
const currentBranch = loadVersionBranch();
|
||||
// Initialize version_client if not set (but don't force version_branch)
|
||||
const currentVersion = loadVersionClient();
|
||||
|
||||
if (!currentBranch) {
|
||||
console.log('Initializing version_branch to "release"');
|
||||
saveVersionBranch('release');
|
||||
}
|
||||
|
||||
if (currentVersion === undefined || currentVersion === null) {
|
||||
console.log('Initializing version_client to null (will trigger installation)');
|
||||
saveVersionClient(null);
|
||||
|
||||
Reference in New Issue
Block a user