Screen Lock based on Electron-react-boilerplate, uses Electron, React, React Router, Webpack and React Fast Refresh.
Screen Lock based on Electron-react-boilerplate, Screen Lock、keyboard shortcuts Lock、application auto power on
- Screen Lock
- keyboard shortcuts Lock
- Alt + Tab
- Alt + F4
- Ctrl + Alt + delete
- ....
- application auto power on
Important functions | MacOS | Windows | |
---|---|---|---|
Screen Lock | ✅ | ✅ | |
keyboard shortcuts Lock | ❌ | ✅ | |
auto power on | ✅ | ✅ |
First, clone the repo via git and install dependencies:
git clone https://github.com/Mad-hu/ScreenLock.git
cd ScreenLock
yarn
- .erb: project config
- assets: app icons
- screenlock-node: keyboard shortcuts Lock cpp project
- src: base application
Start the app in the dev
environment:
yarn start
To package apps for the local platform:
yarn package
electron builder config. package.json
"win": {
"requestedExecutionLevel": "highestAvailable", // is require
"target": [
{
"target": "nsis"
}
]
}
if you want auto power on and keyboard shortcuts Lock (Ctrl + Alt + delete) is working, next change the windows computer UAC. regedit.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"ConsentPromptBehaviorAdmin"=dword:00000000
"EnableLUA"=dword:00000000
"EnableUIADesktopToggle"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000
"ValidateAdminCodeSignatures"=dword:00000000
"FilterAdministratorToken"=dword:00000000
MIT ©