Socket
Socket
Sign inDemoInstall

@kano/desktop-shell

Package Overview
Dependencies
Maintainers
22
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kano/desktop-shell - npm Package Compare versions

Comparing version 1.0.11 to 1.1.0

0

lib/about/preload.js

@@ -0,0 +0,0 @@ const { remote, ipcRenderer } = require('electron');

@@ -0,0 +0,0 @@ const { protocol } = require('electron');

@@ -0,0 +0,0 @@ const { app, shell, Menu } = require('electron');

7

lib/shell/index.js

@@ -43,2 +43,9 @@ const {

app.setName(this.options.name);
if (this.options.userDataDirName) {
const appDataPath = app.getPath('appData');
const userDataPath = path.join(appDataPath, this.options.userDataDirName);
app.setPath('userData', userDataPath);
}
this.log = Logger.getLogger(this.options.log || {});

@@ -45,0 +52,0 @@ protocol.registerStandardSchemes([this.options.scheme], { secure: true });

@@ -0,0 +0,0 @@ const url = require('url');

2

package.json
{
"name": "@kano/desktop-shell",
"version": "1.0.11",
"version": "1.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -36,4 +36,4 @@ # Kano Desktop Shell

options:
- `root`, (required) Root of the local directory you want to serve in the browser window.
options:
- `root`, _(required)_ Root of the local directory you want to serve in the browser window.
- `scheme`, Scheme that will be used in the server protocol (Default: `shell`)

@@ -48,2 +48,3 @@ - `width`, Width of the main window (Default: `800`).

- `windowOptions`, Any option that will be passed down to electron's `BrowserWindow` constructor.
- `userDataDirName`, _(optional)_ Change the name of the directory where user data will be stored. The location is platform-specific. Defaults to the app `name` as specified in `package.json`.

@@ -50,0 +51,0 @@ Methods:

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc