diff --git a/package-lock.json b/package-lock.json
index 9457fdb..e64099c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,18 +1,19 @@
{
"name": "BattlyLauncher",
- "version": "2.0.2",
+ "version": "2.0.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "BattlyLauncher",
- "version": "2.0.2",
+ "version": "2.0.3",
"license": "CC0",
"dependencies": {
"@distube/ytdl-core": "^4.13.7",
"7zip-bin": "^5.2.0",
"adm-zip": "^0.5.14",
"axios": "^1.7.2",
+ "BattlyLauncher": "file:",
"electron-updater": "^6.2.1",
"got": "^11.8.6",
"javascript-obfuscator": "^4.1.1",
@@ -1017,6 +1018,10 @@
}
]
},
+ "node_modules/BattlyLauncher": {
+ "resolved": "",
+ "link": true
+ },
"node_modules/bcrypt-pbkdf": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
diff --git a/package.json b/package.json
index 7b226a4..6cfa6f6 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "BattlyLauncher",
"productname": "Battly Launcher",
- "version": "2.0.2",
+ "version": "2.0.3",
"buildVersion": "1003",
"description": "El mejor Launcher Personalizado para Minecraft Premium y No premium",
"main": "src/app.js",
@@ -29,6 +29,7 @@
"7zip-bin": "^5.2.0",
"adm-zip": "^0.5.14",
"axios": "^1.7.2",
+ "BattlyLauncher": "file:",
"electron-updater": "^6.2.1",
"got": "^11.8.6",
"javascript-obfuscator": "^4.1.1",
diff --git a/src/app.js b/src/app.js
index fbbeee1..089664d 100644
--- a/src/app.js
+++ b/src/app.js
@@ -609,8 +609,8 @@ ipcMain.handle("update-app", () => {
const pkgVersion = async () => {
const pkg = {
- version: "2.0.2",
- buildVersion: 1003
+ version: "2.0.3",
+ buildVersion: 1004
};
return pkg;
};
diff --git a/src/assets/js/index.js b/src/assets/js/index.js
index 286520f..186c313 100644
--- a/src/assets/js/index.js
+++ b/src/assets/js/index.js
@@ -101,15 +101,15 @@ class Splash {
}
})
- ipcRenderer.invoke('update-new-app').then(err => {
- if (err) {
- if (err.error) {
- let error = err.message;
- error = error.toString().slice(0, 50);
- this.shutdown(`${lang.update_error}
${error}`);
- }
- }
- })
+ // ipcRenderer.invoke('update-new-app').then(err => {
+ // if (err) {
+ // if (err.error) {
+ // let error = err.message;
+ // error = error.toString().slice(0, 50);
+ // this.shutdown(`${lang.update_error}
${error}`);
+ // }
+ // }
+ // })
ipcRenderer.on('updateAvailable', () => {
this.setStatus(lang.update_available);
diff --git a/src/assets/js/panels/music.js b/src/assets/js/panels/music.js
index 397959c..2c1f47c 100644
--- a/src/assets/js/panels/music.js
+++ b/src/assets/js/panels/music.js
@@ -7,7 +7,7 @@ import { database, changePanel, addAccount, accountSelect } from '../utils.js';
const Swal = require('./assets/js/libs/sweetalert/sweetalert2.all.min.js');
const usetube = require('./assets/js/libs/youtube/usetube');
-const ytdl = require('./assets/js/libs/distube/lib/index');
+const ytdl = require('@distube/ytdl-core');
const dataDirectory = `${process.env.APPDATA || (process.platform == 'darwin' ? `${process.env.HOME}/Library/Application Support` : process.env.HOME)}/.battly`
const fs = require('fs');
diff --git a/src/assets/js/update.js b/src/assets/js/update.js
index 26218c3..75d574d 100644
--- a/src/assets/js/update.js
+++ b/src/assets/js/update.js
@@ -14,8 +14,8 @@ let lang;
const pkgVersion = async () => {
const pkg = {
- version: "2.0.2",
- buildVersion: 1003
+ version: "2.0.3",
+ buildVersion: 1004
};
return pkg;
};
diff --git a/src/launcher.html b/src/launcher.html
index ac4d58e..3d54042 100644
--- a/src/launcher.html
+++ b/src/launcher.html
@@ -191,7 +191,7 @@