mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-06 20:02:47 +08:00
add frame for almost window
This commit is contained in:
@@ -31,6 +31,7 @@ export function createBrowserAssistantWindow(
|
||||
minWidth: 800,
|
||||
height: 400,
|
||||
resizable: true,
|
||||
frame: true,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
webPreferences: {
|
||||
|
||||
@@ -16,6 +16,7 @@ export function createCommonJobConditionConfigWindow(
|
||||
resizable: false,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
@@ -20,6 +20,7 @@ export function createCookieAssistantWindow(
|
||||
resizable: true,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
@@ -8,11 +8,12 @@ export function createFirstLaunchNoticeWindow(
|
||||
// Create the browser window.
|
||||
firstLaunchNoticeWindow = new BrowserWindow({
|
||||
width: 960,
|
||||
height: 640,
|
||||
resizable: false,
|
||||
maxWidth: 960,
|
||||
minHeight: 320,
|
||||
resizable: true,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: false,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
@@ -15,6 +15,7 @@ export function createLlmConfigWindow(
|
||||
resizable: false,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
@@ -12,6 +12,7 @@ export function createMainWindow(): BrowserWindow {
|
||||
minWidth: 1280,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
...(process.platform === 'linux'
|
||||
? {
|
||||
/* icon */
|
||||
|
||||
@@ -17,6 +17,7 @@ export function createReadNoReplyReminderLlmMockWindow(
|
||||
resizable: false,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
@@ -15,6 +15,7 @@ export function createResumeEditorWindow(
|
||||
resizable: true,
|
||||
show: false,
|
||||
autoHideMenuBar: true,
|
||||
frame: true,
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, '../preload/index.js'),
|
||||
sandbox: false
|
||||
|
||||
Reference in New Issue
Block a user