Socket
Socket
Sign inDemoInstall

@kano/desktop-shell

Package Overview
Dependencies
Maintainers
8
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.3 to 1.0.4

7

app/main.js

@@ -59,5 +59,10 @@ const { app } = require('electron');

}
}
},
version: '1.2.3',
});
shell.on('window-created', () => {
console.log('New window!!!');
});
app.on('ready', () => {

@@ -64,0 +69,0 @@ shell.createWindow();

4

lib/about/preload.js

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

let clicks = 0;
let { devMode } = aboutOptions;
let { devMode, version } = aboutOptions;

@@ -17,3 +17,3 @@ function updateUI() {

</div>
<h2 class="title">${remote.app.getName()} ${remote.app.getVersion()}</h2>
<h2 class="title">${remote.app.getName()} ${version}</h2>
<h3 class="description">${aboutOptions.description || ''}</h3>

@@ -20,0 +20,0 @@ <div class="copyright">${aboutOptions.copyright || ''}</div>

@@ -14,2 +14,3 @@ const {

const Logger = require('../logger');
const { EventEmitter } = require('events');

@@ -28,2 +29,3 @@ const defaultOptions = {

name: 'Kano Desktop Shell',
version: '0.0.0',
};

@@ -33,4 +35,5 @@

class Shell {
class Shell extends EventEmitter {
constructor(opts) {
super();
this.options = Object.assign({}, defaultOptions, opts);

@@ -84,2 +87,3 @@ if (!this.options.root) {

openDevtools: this.options.devMode,
version: this.options.version,
});

@@ -162,2 +166,4 @@ this.about.on('enable-dev-mode', () => {

this.windowState.manage(this.window);
this.emit('window-created', this.window);
}

@@ -164,0 +170,0 @@

{
"name": "@kano/desktop-shell",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

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

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