Comparing version 0.2.7 to 0.2.8
@@ -39,2 +39,3 @@ "use strict"; | ||
this.window.setResizable(false); | ||
this.window.setMinimizable(false); | ||
} | ||
@@ -41,0 +42,0 @@ saveState() { |
@@ -10,15 +10,8 @@ "use strict"; | ||
constructor() { | ||
const name = require('../../package.json').build.productName; | ||
const template = [ | ||
// The main menu. | ||
{ | ||
label: name, | ||
label: require('../../package.json').build.productName, | ||
submenu: [ | ||
{ | ||
label: `About ${name}`, | ||
onClick: () => { | ||
const windowManager = require('../controller/window-manager').default; | ||
windowManager.showNamedWindow('about'); | ||
}, | ||
}, | ||
base_menu_bar_1.default.aboutMenuItem, | ||
{ type: 'separator' }, | ||
@@ -25,0 +18,0 @@ { role: 'hide' }, |
@@ -14,2 +14,9 @@ "use strict"; | ||
class BaseMenuBar extends signals_owner_1.default { | ||
static aboutMenuItem = { | ||
label: `About ${require('../../package.json').build.productName}`, | ||
onClick: () => { | ||
const windowManager = require('../controller/window-manager').default; | ||
windowManager.showNamedWindow('about'); | ||
}, | ||
}; | ||
static fileMenuItems = [ | ||
@@ -16,0 +23,0 @@ { type: 'separator' }, |
@@ -13,3 +13,6 @@ "use strict"; | ||
label: 'File', | ||
submenu: base_menu_bar_1.default.fileMenuItems, | ||
submenu: [ | ||
base_menu_bar_1.default.aboutMenuItem, | ||
...base_menu_bar_1.default.fileMenuItems, | ||
], | ||
}, | ||
@@ -16,0 +19,0 @@ ]; |
{ | ||
"name": "chieapp", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"main": "dist/gui-main.js", | ||
@@ -5,0 +5,0 @@ "description": "An extensible desktop app for large language models like ChatGPT and New Bing", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3664393
9021