Skip to content

Commit

Permalink
Merge pull request #138 from NicolasConstant/develop
Browse files Browse the repository at this point in the history
0.12.2 merge
  • Loading branch information
NicolasConstant authored Jul 20, 2019
2 parents 660d66a + 576d5fe commit e1d1cdd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion main-electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ function createWindow() {
useContentSize: true
});

win.setAutoHideMenuBar(true);
win.setMenuBarVisibility(false);

var server = http.createServer(requestHandler).listen(9527);
const sengiUrl = "http://localhost:9527";
win.loadURL(sengiUrl);
Expand All @@ -35,6 +38,8 @@ function createWindow() {
{ type: "separator" },
{ role: "reload" },
{ role: "forcereload" },
{ type: 'separator' },
{ role: 'togglefullscreen' },
{ type: "separator" },
{ role: "close" },
{ role: 'quit' }
Expand Down Expand Up @@ -92,7 +97,9 @@ function createWindow() {
},
{ type: "separator" },
{ role: "reload" },
{ role: "forcereload" }
{ role: "forcereload" },
{ type: 'separator' },
{ role: 'togglefullscreen' }
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sengi",
"version": "0.12.1",
"version": "0.12.2",
"license": "AGPL-3.0-or-later",
"main": "main-electron.js",
"description": "A multi-account desktop client for Mastodon and Pleroma",
Expand Down

0 comments on commit e1d1cdd

Please sign in to comment.