Skip to content

Commit

Permalink
tweak default asar
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed May 2, 2023
1 parent 05e6ccb commit 9082999
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion default_app/default_app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function createWindow (backgroundColor?: string) {
const options: Electron.BrowserWindowConstructorOptions = {
width: 960,
height: 620,
autoHideMenuBar: true,
autoHideMenuBar: false,
backgroundColor,
webPreferences: {
preload: path.resolve(__dirname, 'preload.js'),
Expand Down
2 changes: 1 addition & 1 deletion default_app/preload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function initialize () {
replaceText('.electron-version', `Electron v${process.versions.electron}`);
replaceText('.chrome-version', `Chromium v${process.versions.chrome}`);
replaceText('.node-version', `Node v${process.versions.node}`);
replaceText('.v8-version', `v8 v${process.versions.v8}`);
replaceText('.v8-version', `V8 v${process.versions.v8}`);
replaceText('.command-example', `${electronPath} path-to-app`);

for (const element of document.querySelectorAll<HTMLSpanElement>('.octicon')) {
Expand Down

0 comments on commit 9082999

Please sign in to comment.