Skip to content

Commit

Permalink
fix: mac change font
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylu110 committed Apr 17, 2024
1 parent 80b2a13 commit 07e1a9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion electron/mac/mainMac.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const path = require('node:path')
const { app, BrowserWindow, ipcMain, screen, Menu, shell, nativeTheme, globalShortcut, Tray } = require('electron')
const fs = require('node:fs')
const { app, BrowserWindow, ipcMain, screen, Menu, shell, nativeTheme, globalShortcut, Tray, dialog } = require('electron')
const Store = require('electron-store')
const remoteMain = require('@electron/remote/main')
const { initWindowSize, windowSize, windowSizeState, windowSizeIpc } = require('../store/windowSizeStore')
Expand Down Expand Up @@ -52,6 +53,7 @@ function createWindow() {
enableRemoteModule: true,
nodeIntegration: true,
contextIsolation: false,
webSecurity: false,
},
})

Expand Down

0 comments on commit 07e1a9d

Please sign in to comment.