Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit 42c3412

Browse files
committed
🤖 Beta 1
1 parent fbf6f09 commit 42c3412

File tree

4 files changed

+2
-2839
lines changed

4 files changed

+2
-2839
lines changed

example/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function createWindow() {
77
const mainWindow = new BrowserWindow({
88
width: 800,
99
height: 600,
10-
//frame: false,
1110
titleBarStyle: 'hidden',
1211
webPreferences: {
1312
preload: path.join(__dirname, 'preload.js')

example/preload.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// All of the Node.js APIs are available in the preload process.
22
// It has the same sandbox as a Chrome extension.
33
const { ipcRenderer } = require('electron');
4-
const customTitlebar = require('..'); // Delete this line and uncomment top line
4+
const customTitlebar = require('..');
55

66
let titlebar;
77

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "custom-electron-titlebar",
3-
"version": "4.0.0",
3+
"version": "4.0.0-beta.1",
44
"description": "Custom Electron Titlebar is a library for electron that allows you to configure a fully customizable title bar.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)