async initApp(cnf) {
    // console.info('Initializing renderer window...');
    this.workspaceManager = new WorkspaceManager(this.initConfig.workspaceFile);
    this.workspaceManager.observe();
    if (this.initConfig.darkMode) {
      cnf.theme = '@advanced-rest-client/arc-electron-dark-theme';
    }
    if (cnf.theme === '@advanced-rest-client/arc-electron-anypoint-theme') {
      const app = this.app;
      app.compatibility = true;
    }
    try {
      await this.themeManager.loadTheme(cnf.theme);
    } catch (e) {
      console.error(e);
    }
  }
/**
   * Initialized the application when window is ready.
   *
   * @param {Object} cnf Current qapplication configuration
   * @return {Promise}
   */
Initialized the application when window is ready.
@param {Object} cnf Current qapplication configuration
@return {Promise}
Initialized the application when window is ready . @param { Object } cnf Current qapplication configuration @return { Promise }
async initApp(cnf) {
    this.workspaceManager = new WorkspaceManager(this.initConfig.workspaceFile);
    this.workspaceManager.observe();
    if (this.initConfig.darkMode) {
      cnf.theme = '@advanced-rest-client/arc-electron-dark-theme';
    }
    if (cnf.theme === '@advanced-rest-client/arc-electron-anypoint-theme') {
      const app = this.app;
      app.compatibility = true;
    }
    try {
      await this.themeManager.loadTheme(cnf.theme);
    } catch (e) {
      console.error(e);
    }
  }
async initApp ( cnf ) { this . workspaceManager = new WorkspaceManager ( this . initConfig . workspaceFile ) ; this . workspaceManager . observe ( ) ; if ( this . initConfig . darkMode ) { cnf . theme = '@advanced-rest-client/arc-electron-dark-theme' ; } if ( cnf . theme === '@advanced-rest-client/arc-electron-anypoint-theme' ) { const app = this . app ; app . compatibility = true ; } try { await this . themeManager . loadTheme ( cnf . theme ) ; } catch ( e ) { console . error ( e ) ; } }
Initialized the application when window is ready.
Initialized the application when window is ready .
// console.info('Initializing renderer window...');