diff --git a/app/data/cfg.json b/app/data/cfg.json index 9d98ba7..46c6e6a 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.94", + "version": "1.8.95", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/lib/exec/index.d.ts b/app/lib/exec/index.d.ts index b20194c..d52e69f 100644 --- a/app/lib/exec/index.d.ts +++ b/app/lib/exec/index.d.ts @@ -1 +1 @@ -declare const execRaw: any; +export declare const execRaw: any; diff --git a/app/lib/exec/index.js b/app/lib/exec/index.js index 2238120..5792bed 100644 --- a/app/lib/exec/index.js +++ b/app/lib/exec/index.js @@ -1,5 +1,7 @@ 'use strict'; -const execRaw = require('child_process').exec; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.execRaw = void 0; +exports.execRaw = require('child_process').exec; /** * Promisified child_process.exec * @@ -28,7 +30,7 @@ async function exec(...args) { opts = { maxBuffer: 1024 * 1024 }; } return new Promise((resolve, reject) => { - const child = execRaw(cmd, opts, (err, stdout, stderr) => err ? reject(err) : resolve({ + const child = (0, exports.execRaw)(cmd, opts, (err, stdout, stderr) => err ? reject(err) : resolve({ stdout, stderr })); diff --git a/app/lib/exec/index.js.map b/app/lib/exec/index.js.map index 1e32b7b..ed9bf9f 100644 --- a/app/lib/exec/index.js.map +++ b/app/lib/exec/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/exec/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,MAAM,OAAO,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC,IAAI,CAAA;AAE7C;;;;;;;;;;GAUG;AACH,KAAK,UAAU,IAAI,CAAC,GAAG,IAAe;IACrC,IAAI,GAAG,GAAY,IAAI,CAAC,CAAC,CAAC,CAAA;IAC1B,IAAI,IAAI,GAAY,IAAI,CAAA;IACxB,IAAI,IAAI,GAAS,IAAI,CAAA;IAErB,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,K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AC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;SAClC;IACL,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,CAAC,OAAO,CAAC,IAAI,GAAG,IAAI,CAAA"} \ No newline at end of file diff --git a/app/lib/intval/index.d.ts b/app/lib/intval/index.d.ts index c00ab7f..339fd3f 100644 --- a/app/lib/intval/index.d.ts +++ b/app/lib/intval/index.d.ts @@ -1,4 +1,4 @@ -declare class Intval { +export declare class Intval { private _baseUrl; private req; constructor(url: string); diff --git a/app/lib/intval/index.js b/app/lib/intval/index.js index 0ecb0fd..014f559 100644 --- a/app/lib/intval/index.js +++ b/app/lib/intval/index.js @@ -1,4 +1,6 @@ 'use strict'; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.Intval = void 0; class Intval { constructor(url) { this._baseUrl = `http://${url}`; @@ -64,5 +66,6 @@ class Intval { }); } } +exports.Intval = Intval; module.exports.Intval = Intval; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/app/lib/intval/index.js.map b/app/lib/intval/index.js.map index b951f19..e52c37d 100644 --- a/app/lib/intval/index.js.map +++ b/app/lib/intval/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/intval/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAA;AAEZ,MAAM,MAAM;IAGX,YAAa,GAAY;QACxB,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,EAAE,CAAA;QAC/B,IAAI,CAAC,GAAG,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;IAC9B,CAAC;IACM,KAAK,CAAC,IAAI;QAChB,OAAO,IAAI,OAAO,CAAE,CAAC,OAAa,EAAE,MAAY,EAAE,EAAE;YACnD,MAAM,SAAS,GAAY,CAAC,IAAI,IAAI,EAAE,CAAA;YACtC,MAAM,GAAG,GAAY,GAAG,IAAI,CAAC,QAAQ,QAAQ,CAAA;YAC7C,kBAAkB;YAClB,OAAO,IAAI,CAAC,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\ No newline at end of file diff --git a/app/lib/ui/devices.js b/app/lib/ui/devices.js index 5435652..c9c09d2 100644 --- a/app/lib/ui/devices.js +++ b/app/lib/ui/devices.js @@ -28,7 +28,8 @@ class Devices { } ready(event, arg) { return __awaiter(this, void 0, void 0, function* () { - //console.dir(arg) + console.log("Got to ready"); + console.dir(arg); let opt; let devs = []; let notify = 'Connected to '; diff --git a/app/lib/ui/devices.js.map b/app/lib/ui/devices.js.map index a6954c5..04877e7 100644 --- a/app/lib/ui/devices.js.map +++ b/app/lib/ui/devices.js.map @@ -1 +1 @@ -{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../src/lib/ui/devices.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;AAEb,qCAAqC;AAErC,IAAI,OAAiB,CAAC;AAEtB,MAAM,OAAO;IAEZ;QADQ,OAAE,GAAY,SAAS,CAAC;IAGhC,CAAC;IACD,IAAI;QACH,IAAI,CAAC,MAAM,EAAE,CAAC;QACd,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClB,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,mCAAmC,CAAC,CAAC;IACxD,CAAC;IACD,MAAM;QACL,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAC/C,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACnD,WAAW,CAAC,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QAC3D,WAAW,CAAC,EAAE,CAAC,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3D,CAAC;IAEK,KAAK,CAAE,KAAW,EAAE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,CAAC,KAAK,CAAC,CAAC;QACnB,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACnB,GAAG,CAAC,MAAM,CAAC,SAAS,EAAE,yBAAyB,CAAC,CAAC;QACjD,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,4DAA4D,CAAC,CAAC;IACjF,CAAC;CACD;AAED,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAExB,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC"} \ No newline at end of file diff --git a/app/package-lock.json b/app/package-lock.json index 9d67489..dc1bc02 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.94", + "version": "1.8.95", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index 4ee2890..1008795 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.94", + "version": "1.8.95", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/app/src/lib/ui/devices.ts b/app/src/lib/ui/devices.ts index 72a5cfb..6137b56 100644 --- a/app/src/lib/ui/devices.ts +++ b/app/src/lib/ui/devices.ts @@ -23,7 +23,8 @@ class Devices { } async ready (event : any, arg : any) { - //console.dir(arg) + console.log("Got to ready"); + console.dir(arg) let opt : any; let devs : any[] = []; let notify : string = 'Connected to '; diff --git a/data/cfg.json b/data/cfg.json index 9d98ba7..46c6e6a 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.94", + "version": "1.8.95", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/package-lock.json b/package-lock.json index 7592a29..a655036 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.94", + "version": "1.8.95", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.94", + "version": "1.8.95", "license": "MIT", "dependencies": { "alert": "file:app/lib/alert", diff --git a/package.json b/package.json index 32376a7..7cf5096 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.94", + "version": "1.8.95", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 9d98ba7..46c6e6a 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.94", + "version": "1.8.95", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/src/exec/index.ts b/src/exec/index.ts index a724bc9..2e13ab7 100644 --- a/src/exec/index.ts +++ b/src/exec/index.ts @@ -1,6 +1,6 @@ 'use strict' -const execRaw = require('child_process').exec +export const execRaw = require('child_process').exec /** * Promisified child_process.exec diff --git a/src/intval/index.ts b/src/intval/index.ts index ff9a744..8e6fa5f 100644 --- a/src/intval/index.ts +++ b/src/intval/index.ts @@ -1,6 +1,6 @@ 'use strict' -class Intval { +export class Intval { private _baseUrl : string private req : any constructor (url : string) {