fix: optional accessor

This commit is contained in:
talksik
2026-03-19 17:18:52 -07:00
parent 01c5d9be0c
commit e1295b434b
+1 -1
View File
@@ -9,7 +9,7 @@ if (started) {
// Set the dock icon for development mode on macOS.
if (process.platform === 'darwin' && !app.isPackaged) {
app.dock.setIcon(path.join(__dirname, '../../assets/icon.png'));
app.dock?.setIcon(path.join(__dirname, '../../assets/icon.png'));
}
const createWindow = () => {