git clone https://github.com/socketsupply/socket.git .
powershell ./bin/install.ps1 -verboseSet a frameless option to true in [window] section in socket.ini config file:
; Determines if the window has a title bar and border.
; default value: false
frameless = trueSame way you'd do that in Electron - via css properties:
body {
-webkit-app-region: drag;
--app-region: drag;
}Fastest way is to add this piece of code as an attribute on your whole body. JS in-file implementation will have a slight delay, so potentially user can manage to catch that time and see the native menu. This is why it's better to put it inline in html part.
<body oncontextmenu="return false;">https://gist.github.com/mecachisenros/12e3240a5d66cffa54089066f9ffe8ff