Guest User

Untitled

a guest
Aug 22nd, 2019
63
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. isItInstalled("Vs Code")
  2. .then(result => {
  3. if (result) {
  4. mainWindow.loadURL(`index.html`);
  5. } else {
  6. mainWindow.loadURL(`error.html`);
  7. }
  8. })
  9. .catch(err => {
  10. mainWindow.loadURL(`500.html`);
  11. });
RAW Paste Data