Skip to content

Commit

Permalink
Disable process priority adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos authored Oct 29, 2024
1 parent 4f6a137 commit 2e10619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ if(app.commandLine.hasSwitch("show-console")) {
}

const { Readable } = require("node:stream")
require("os").setPriority(0, require("os").constants.priority.PRIORITY_BELOW_NORMAL)
//require("os").setPriority(0, require("os").constants.priority.PRIORITY_BELOW_NORMAL)
const { BrowserWindow, nativeTheme, systemPreferences, Menu, ipcMain, screen, globalShortcut, powerMonitor } = require('electron')
const uuid = require('crypto').randomUUID

Expand Down Expand Up @@ -4733,4 +4733,4 @@ const pipe = {
}
}

pipe.start()
pipe.start()

0 comments on commit 2e10619

Please sign in to comment.