Skip to content

Commit

Permalink
Wrap up Build for floatcam-darwin-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
theterminalguy committed Nov 15, 2022
1 parent 40bccf5 commit 65162c4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion forge.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module.exports = {
packagerConfig: {},
packagerConfig: {
'icon': './images/icon',
},
rebuildConfig: {},
makers: [
{
Expand Down
Binary file modified images/icon.icns
Binary file not shown.
Binary file modified images/icon.ico
Binary file not shown.
Binary file added images/icon@2x.icns
Binary file not shown.
3 changes: 3 additions & 0 deletions public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function createMainWindow() {
width: 600,
maximizable: false,
resizable: false,
autoHideMenuBar: true,
webPreferences: {
preload: __dirname + "/preload.js",
nodeIntegration: true,
Expand All @@ -15,6 +16,8 @@ function createMainWindow() {
process.env.NODE_ENV === "development" ?
"http://localhost:3000" : `file://${path.join(__dirname, "../build/index.html")}`;
win.loadURL(loadURL);
win.removeMenu();
win.setMenuBarVisibility(false);
return win;
}

Expand Down
1 change: 0 additions & 1 deletion src/logo.svg

This file was deleted.

0 comments on commit 65162c4

Please sign in to comment.