mirror of
https://github.com/koush/scrypted.git
synced 2026-03-16 23:22:07 +00:00
server: remove cruft
This commit is contained in:
@@ -31,7 +31,6 @@ export class PluginHost {
|
||||
pluginId: string;
|
||||
module: Promise<any>;
|
||||
scrypted: ScryptedRuntime;
|
||||
console: Promise<Console>;
|
||||
remote: PluginRemote;
|
||||
zip: AdmZip;
|
||||
io = io(undefined, {
|
||||
@@ -155,7 +154,6 @@ export class PluginHost {
|
||||
|
||||
this.api = new PluginHostAPI(scrypted, plugin, this);
|
||||
|
||||
this.console = this.peer.eval('return console', undefined, undefined, true) as Promise<Console>;
|
||||
const zipBuffer = Buffer.from(plugin.zip, 'base64');
|
||||
this.zip = new AdmZip(zipBuffer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user