Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit a9bd0a3

Browse files
committed
bugfix first create prefix
1 parent e2ac66b commit a9bd0a3

4 files changed

Lines changed: 17 additions & 15 deletions

File tree

src/src/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class App {
8888
initialize() {
8989
let promise = Promise.resolve();
9090

91-
promise
91+
return promise
9292
.then(() => this.getAppFolders().create())
9393
.then(() => this.getMountWine().mount())
9494
.then(() => this.getMountData().mount())
@@ -99,8 +99,6 @@ class App {
9999
}
100100
})
101101
.then(() => this.getWinePrefix().create());
102-
103-
return promise;
104102
}
105103

106104
/**

src/src/helpers/errors.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ export default class Errors {
3838
app.getAction().notifyWarning('Wine Launcher', _.truncate(message, { length: 50 }));
3939
handler.addLog(`[LOG]: ${message}\n`);
4040

41-
return log.apply(this, arguments);
41+
let result = log.apply(this, arguments);
42+
window.console.groupCollapsed('trace');
43+
trace();
44+
window.console.groupEnd();
45+
46+
return result;
4247
};
4348
window.console.error = function () {
4449
let values = Array.prototype.slice.call(arguments);

src/src/main.js

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,17 @@ window.onload = () => {
2424
return;
2525
}
2626

27-
application.initialize().then(() => {
28-
preloading.remove();
29-
30-
let vue = new Vue({
31-
router,
32-
store,
33-
i18n,
34-
render: h => h(App)
35-
});
27+
let vue = new Vue({
28+
router,
29+
store,
30+
i18n,
31+
render: h => h(App)
32+
});
3633

37-
api.use(vue);
34+
api.use(vue);
3835

36+
application.initialize().then(() => {
37+
preloading.remove();
3938
vue.$mount('#wineLauncher');
4039
});
4140
};

src/src/modules/update.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const fs = require('fs');
88

99
export default class Update {
1010

11-
version = '1.4.24';
11+
version = '1.4.25';
1212

1313
/**
1414
* @type {string}

0 commit comments

Comments
 (0)