Skip to content

Commit

Permalink
fix: disable client_package
Browse files Browse the repository at this point in the history
  • Loading branch information
pepyta committed May 26, 2021
1 parent 187cee6 commit 88eaedc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "minelegion-launcher",
"description": "MineLegion Launcher",
"version": "0.0.1",
"version": "0.0.2",
"author": "Gál Péter <[email protected]>",
"main": "app/background.js",
"scripts": {
Expand Down
4 changes: 0 additions & 4 deletions renderer/components/HomeScreen/PlayButton/PlayButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,11 @@ const PlayButton = () => {
launcher.on('data', (e) => console.log(e));

launcher.on("progress", setState);

launcher.on("download-status", setState);

const root = `${await Storage.getPath('userData')}/minecraft`;
const clientPackage = fs.existsSync(`${root}/options.txt`) ? null :" https://raw.githubusercontent.com/minelegion/launcher/main/resources/client_packages.zip";

await launcher.launch({
clientPackage,
removePackage: true,
authorization: (async () => user.getAuthentication())(),
root,
version: {
Expand Down

0 comments on commit 88eaedc

Please sign in to comment.