UNPKG

ohmysearch

Version:

Ohmysearch - customizable all in one search tool to boost developer productivity

35 lines (33 loc) 930 B
import { BrowserWindowConstructorOptions } from "electron/main"; export default { mainWindow: { width: 700, height: 400, frame: false, resizable: false, movable: true, // doesn't seem to work ~ workaround needed minimizable: false, maximizable: false, alwaysOnTop: true, skipTaskbar: true, // Don't show app on the task bar -- equivalent of app.dock.hide() for macos fullscreenable: false, autoResize: true, title: "Oh My Search!", autoHideMenuBar: true, useContentSize: false, webPreferences: { nodeIntegration: true, // https://stackoverflow.com/questions/55093700/electron-5-0-0-uncaught-referenceerror-require-is-not-defined contextIsolation: false, }, darkTheme: true, } as BrowserWindowConstructorOptions, fuse: { keys: ["name"], shouldSort: true, threshold: 0.1, }, output: { max: 5, heightPerItem: 45, }, };