electron-api-demos
                                
                                 electron-api-demos copied to clipboard
                                
                                    electron-api-demos copied to clipboard
                            
                            
                            
                        squirrel events are not calling
 switch (process.argv[1]) {
 case '--squirrel-install':
 autoUpdater.createShortcut(function () { app.quit() })
 break
case '--squirrel-uninstall':
 app.removeAsDefaultProtocolClient('onepgr-share')
 autoUpdater.removeShortcut(function () { app.quit() })
 break
case '--squirrel-obsolete':
case '--squirrel-updated':
 app.quit()
 break
default:  
 }
i am using electron-builder for making build for windows application.
i have copied the autoUpdater code of yours but no shortcut is created when my app is installed.
please advice as necessary as i am new to electron.
Thanks in advance.