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