add frame for almost window

This commit is contained in:
geekgeekrun
2026-02-27 00:47:15 +08:00
parent 57bab1900c
commit f82987bd76
8 changed files with 11 additions and 3 deletions

View File

@@ -31,6 +31,7 @@ export function createBrowserAssistantWindow(
minWidth: 800,
height: 400,
resizable: true,
frame: true,
show: false,
autoHideMenuBar: true,
webPreferences: {

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -12,6 +12,7 @@ export function createMainWindow(): BrowserWindow {
minWidth: 1280,
show: false,
autoHideMenuBar: true,
frame: true,
...(process.platform === 'linux'
? {
/* icon */

View File

@@ -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

View File

@@ -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