{"size": 696, "ext": "js", "max_stars_repo_path": "main.js", "max_stars_repo_name": "billyGit9102/winapp-timer", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "main.js", "max_issues_repo_name": "billyGit9102/winapp-timer", "max_issues_repo_issues_event_min_datetime": "2021-01-28T20:13:51.000Z", "max_issues_repo_issues_event_max_datetime": "2021-01-28T20:13:51.000Z", "max_forks_repo_path": "main.js", "max_forks_repo_name": "billyGit9102/sp-winapp-timer", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 29.0, "max_line_length": 64, "alphanum_fraction": 0.5704022989}
/* ========================================== *
*  - create browser window here
* ========================================== */

const {app} = require('electron');
const  {createWindow}=require('./src/browserWindow/mainWindow');

const  {loadData}=require('./src/browserWindow/saveLoadData');

app.on('ready', () => setTimeout(()=>{
  //console.log("createWindow");
  //create mainWindow
  //loadData();
  createWindow();
}, 3000));

// Quit when all windows are closed.
app.on('window-all-closed', ()=> {
  // On macOS it is common for applications and their menu bar
  // to stay active until the user quits explicitly with Cmd + Q
  if (process.platform !== 'darwin') {
    app.quit();
  }
});