Skip to content

Commit c4d7ebd

Browse files
committed
Add standard initial window dressing
1 parent 064d1bf commit c4d7ebd

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/icon.png

3.38 KB
Loading

src/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import * as path from 'path';
2+
13
import { app, BrowserWindow, shell } from 'electron';
24

35
const APP_URL = 'https://app.httptoolkit.tech';
@@ -8,8 +10,15 @@ let mainWindow: Electron.BrowserWindow | null = null;
810

911
const createWindow = async () => {
1012
mainWindow = new BrowserWindow({
13+
title: 'HTTP Toolkit',
14+
icon: path.join(__dirname, 'src', 'icon.png'),
15+
backgroundColor: '#d8e2e6',
16+
1117
width: 1366,
1218
height: 768,
19+
minWidth: 1024,
20+
minHeight: 700,
21+
1322
webPreferences: {
1423
contextIsolation: true,
1524
nodeIntegration: false

0 commit comments

Comments
 (0)