Update package and increment version for local install
This commit is contained in:
parent
f110718342
commit
8adab68cdc
|
@ -43,8 +43,6 @@ async function delay (ms) {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
//console.log(process.version)
|
|
||||||
|
|
||||||
mcopy.cfg = require('./data/cfg.json')
|
mcopy.cfg = require('./data/cfg.json')
|
||||||
mcopy.settings = {}
|
mcopy.settings = {}
|
||||||
|
|
||||||
|
@ -54,7 +52,7 @@ dev.init = function () {
|
||||||
|
|
||||||
dev.listen = function () {
|
dev.listen = function () {
|
||||||
ipcMain.on('profile', (event, arg) => {
|
ipcMain.on('profile', (event, arg) => {
|
||||||
console.log(`Saving profile ${arg.profile}`)
|
log.info(`Saving profile ${arg.profile}`, 'SETTINGS', false, false)
|
||||||
settings.update('profile', arg.profile)
|
settings.update('profile', arg.profile)
|
||||||
settings.save()
|
settings.save()
|
||||||
})
|
})
|
||||||
|
@ -326,7 +324,6 @@ dev.remember = function (which, device, type) {
|
||||||
};
|
};
|
||||||
|
|
||||||
dev.ready = function (projector, camera, light) {
|
dev.ready = function (projector, camera, light) {
|
||||||
console.log('HAPPNED')
|
|
||||||
mainWindow.webContents.send('ready', {
|
mainWindow.webContents.send('ready', {
|
||||||
camera,
|
camera,
|
||||||
projector,
|
projector,
|
||||||
|
@ -511,7 +508,7 @@ cam.move = async function (frame, id) {
|
||||||
} else {
|
} else {
|
||||||
ms = await arduino.send('camera', cmd)
|
ms = await arduino.send('camera', cmd)
|
||||||
}
|
}
|
||||||
console.log(ms)
|
log.info('Camera move time', { ms })
|
||||||
return cam.end(cmd, id, ms)
|
return cam.end(cmd, id, ms)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.1.0",
|
"version": "1.1.1",
|
||||||
"description": "Small guage film optical printer platform",
|
"description": "Small guage film optical printer platform",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue