This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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} ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const fs = require('fs');
88
99export default class Update {
1010
11- version = '1.4.24 ' ;
11+ version = '1.4.25 ' ;
1212
1313 /**
1414 * @type {string }
You can’t perform that action at this time.
0 commit comments