Skip to content
This repository was archived by the owner on Jun 6, 2022. It is now read-only.

Linux with Lutris support plus some extras #103

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ autoUpdater.autoInstallOnAppQuit = true;

log.catchErrors({ showDialog: true });

process.on('uncaughtException', function (err) {
console.log(err);
})

log.info(`Started SGDB Manager ${app.getVersion()}`);

// Keep a global reference of the window object, if you don't, the window will
Expand All @@ -30,7 +34,7 @@ function createWindow() {
});

mainWindow.loadURL(url.format({
pathname: path.join(__dirname, 'public', 'index.html'),
pathname: path.join(__dirname, 'public/index.html'),
protocol: 'file:',
slashes: true,
}));
Expand Down Expand Up @@ -59,6 +63,7 @@ function createWindow() {
// when you should delete the corresponding element.
mainWindow = null;
});
// mainWindow.webContents.openDevTools()
}

// This method will be called when Electron has finished
Expand Down
Loading