Skip to content

Commit

Permalink
Update 2.0.3 [URGENT]
Browse files Browse the repository at this point in the history
  • Loading branch information
1ly4s0 committed Aug 4, 2024
1 parent ddef1da commit 6730d84
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 20 deletions.
9 changes: 7 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
18 changes: 9 additions & 9 deletions src/assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}<br>${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}<br>${error}`);
// }
// }
// })

ipcRenderer.on('updateAvailable', () => {
this.setStatus(lang.update_available);
Expand Down
2 changes: 1 addition & 1 deletion src/assets/js/panels/music.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions src/assets/js/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion src/launcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
</style>
<div class="dragbar"></div>
<div class="frame">
<div class="titulo" style="font-weight: 800">Battly Launcher 2.0.2<span
<div class="titulo" style="font-weight: 800">Battly Launcher 2.0.3<span
style="font-size: 10px; margin-left: 5px">build
1003</span></div>
<div class="buttons">
Expand Down
4 changes: 2 additions & 2 deletions src/panels/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<body>
<audio id="audioPlayer" controls autoplay style="display: none;"></audio>
<div class="frame">
<div class="titulo" style="font-weight: 800">Battly Launcher 2.0.2 <span style="font-size: 10px">build
1002</span></div>
<div class="titulo" style="font-weight: 800">Battly Launcher 2.0.3 <span style="font-size: 10px">build
1003</span></div>
<div class="buttons">
<div id="minimize" class="button-frame icon-minimize no-drag"></div>
<div id="maximize" class="button-frame icon-maximize no-drag"></div>
Expand Down
Binary file added src/src.zip
Binary file not shown.

0 comments on commit 6730d84

Please sign in to comment.