Skip to content

Instantly share code, notes, and snippets.

@rambo-panda
rambo-panda / electron_alwaysontop_test.js
Last active December 15, 2021 08:41
electron_gists
// Modules to control application life and create native browser window
const {app, BrowserWindow} = require('electron')
const path = require('path')
function createWindow () {
// Create the browser window.
const mainWindow = new BrowserWindow({
alwaysOnTop:true,
resizable:false,