Example #1
0
File: ctrl.ts Project: rose-m/oSeed
 function installFailed() {
     remote.dialog.showMessageBox({
         type: 'error',
         title: 'Installation failed',
         message: 'Failed to install PIP',
         detail: 'Please refer to https://pip.pypa.io for a detailed installation guide.',
         buttons: ['OK']
     });
 }
Example #2
0
File: ctrl.ts Project: rose-m/oSeed
 .then((out) => {
     console.log(out);
     remote.dialog.showMessageBox({
         type: 'info',
         title: 'Installation successful',
         message: 'PIP was successfully installed.',
         buttons: ['OK']
     });
 }, (out) => {