mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-23 02:28:55 +00:00
ec1023d7ef
The electron-context-menu package uses the context-menu event emitted by WebContents (API added in Electron 1.0.2) to add a general context menu supporting generic actions (e.g. cut/copy/paste) that can be customized. This change replaces the existing context menu, which relies on adding an event listener in preload.js, with one built using the new package.
25 lines
584 B
JSON
25 lines
584 B
JSON
{
|
|
"name": "nativefier-placeholder",
|
|
"version": "1.0.0",
|
|
"description": "Placeholder for the nativefier cli to override with a target url",
|
|
"main": "lib/main.js",
|
|
"dependencies": {
|
|
"electron-context-menu": "^0.9.1",
|
|
"electron-dl": "^1.10.0",
|
|
"electron-window-state": "^4.1.1",
|
|
"loglevel": "^1.5.1",
|
|
"source-map-support": "^0.5.0",
|
|
"wurl": "^2.5.2"
|
|
},
|
|
"devDependencies": {},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [
|
|
"desktop",
|
|
"electron"
|
|
],
|
|
"author": "Jia Hao",
|
|
"license": "MIT"
|
|
}
|