mirror of
https://github.com/AltarikMC/Launcher
synced 2024-11-22 06:19:50 +01:00
Fix import following an update of msmc (semver of msmc isn't correct)
This commit is contained in:
parent
1019daa5ec
commit
b025c5c615
@ -7,7 +7,7 @@ const { join } = require("path")
|
|||||||
const constants = require("constants")
|
const constants = require("constants")
|
||||||
const zip = require("extract-zip")
|
const zip = require("extract-zip")
|
||||||
const logger = require("electron-log")
|
const logger = require("electron-log")
|
||||||
const { auth, lst } = require("msmc")
|
const { Auth, lst } = require("msmc")
|
||||||
const decompress = require("decompress")
|
const decompress = require("decompress")
|
||||||
const decompressTar = require("decompress-targz")
|
const decompressTar = require("decompress-targz")
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ class Minecraft {
|
|||||||
* Used to login through a Microsoft account
|
* Used to login through a Microsoft account
|
||||||
*/
|
*/
|
||||||
microsoftLogin(event, win) {
|
microsoftLogin(event, win) {
|
||||||
const authManager = new auth("select_account")
|
const authManager = new Auth("select_account")
|
||||||
authManager.launch("electron").then(async xboxManager => {
|
authManager.launch("electron").then(async xboxManager => {
|
||||||
xboxManager.getMinecraft().then(async token => {
|
xboxManager.getMinecraft().then(async token => {
|
||||||
if(!token.isDemo()) {
|
if(!token.isDemo()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user