National Pizza Magistrate

    ready-to-show

    14.8.9 • Public • Published

    ready-to-show

    electron fixed event bug

    const { app, BrowserWindow } = require('electron')
     
    require('./src/main.js')(BrowserWindow) // Polyfill ready-to-show is work ❤️👌
     
    app.on('ready', () => {
      let win = new BrowserWindow({
         width: 278,
         height: 300,
         backgroundColor: '#fff',
         show: false
      })
     
     
      win.once('ready-to-show', () => {
        win.show()
        win.loadURL('https://raw.githubusercontent.com/JsusDev/home-page/master/logo/logo.png')
      })
     
    })
     

    Install

    npm i ready-to-show

    DownloadsWeekly Downloads

    4

    Version

    14.8.9

    License

    ISC

    Unpacked Size

    1.72 kB

    Total Files

    4

    Last publish

    Collaborators

    • jsusdev