Skip to content

Commit

Permalink
try node v14 to trick bitdefender, remove menu bar
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmajh committed Feb 2, 2021
1 parent 5777423 commit 054fde9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 12
node-version: 14
- name: install dependencies
run: npm install
- name: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@master
with:
node-version: 12
node-version: 14
- name: install dependencies
run: npm install
- name: publish
Expand Down
5 changes: 5 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ ipcMain.on('getPath', (event, arg) => {
event.returnValue = appPath;
})

ipcMain.on('getVersion', (event, arg) => {
event.returnValue = app.getVersion();
})

function createWindow() {
// Create the browser window.
const mainWindow = new BrowserWindow({
width: 1100,
height: 600,
autoHideMenuBar: true,
webPreferences: {
preload: path.join(__dirname, 'renderer', 'preload.js'),
nodeIntegration: true,
Expand Down

0 comments on commit 054fde9

Please sign in to comment.