Update all modules in app to latest version, including electron. Removed electron updater because of no plans to integrate and to reduce the app size.

This commit is contained in:
Matt McWilliams 2021-02-22 13:23:36 -05:00
parent 112e6b543c
commit 85bfa57127
11 changed files with 13126 additions and 1696 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.6.6",
"version": "1.6.7",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -149,6 +149,7 @@ class FilmOut {
if (!files)
return false;
pathStr = files.filePaths[0];
console.dir(pathStr);
if (pathStr && pathStr !== '') {
ext = path.extname(pathStr.toLowerCase());
valid = this.extensions.indexOf(ext) === -1 ? false : true;

File diff suppressed because one or more lines are too long

View File

@ -54,7 +54,8 @@ var createWindow = function () {
skipTaskbar: true,
toolbar: false,
webPreferences : {
nodeIntegration: true
nodeIntegration: true,
enableRemoteModule: true
}
})
mainWindow.setMenu(null)

14765
app/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "mcopy-app",
"version": "1.6.6",
"version": "1.6.7",
"description": "GUI for the mcopy small gauge film optical printer platform",
"main": "main.js",
"scripts": {
@ -35,19 +35,19 @@
},
"homepage": "https://github.com/sixteenmillimeter/mcopy#readme",
"devDependencies": {
"@types/jquery": "^3.5.0",
"chai": "^4.2.0",
"electron": "^9.3.1",
"electron-installer-common": "^0.10.2",
"@types/jquery": "^3.5.5",
"chai": "^4.3.0",
"electron": "^11.3.0",
"electron-installer-common": "^0.10.3",
"electron-installer-dmg": "^3.0.0",
"electron-packager": "^15.0.0",
"electron-rebuild": "^1.11.0",
"electron-wix-msi": "^2.2.0",
"electron-packager": "^15.2.0",
"electron-rebuild": "^2.3.5",
"electron-wix-msi": "^3.0.6",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
"gulp-less": "^4.0.1",
"mocha": "^8.0.1",
"typescript": "^3.9.7"
"mocha": "^8.3.0",
"typescript": "^4.1.5"
},
"dependencies": {
"animated-gif-detector": "^1.2.0",
@ -58,33 +58,32 @@
"delay": "file:lib/delay",
"devices": "file:lib/devices",
"display": "file:lib/display",
"electron-updater": "^4.3.1",
"exec": "file:lib/exec",
"exit": "file:lib/exit",
"ffmpeg": "file:lib/ffmpeg",
"ffmpeg-static": "^4.2.6",
"ffmpeg-static": "^4.2.7",
"ffprobe": "file:lib/ffprobe",
"ffprobe-static": "^3.0.0",
"filmout": "file:lib/filmout",
"frame": "file:lib/frame",
"fs-extra": "^9.0.1",
"humanize-duration": "^3.23.1",
"fs-extra": "^9.1.0",
"humanize-duration": "^3.25.1",
"intval": "file:lib/intval",
"jimp": "^0.14.0",
"jimp": "^0.16.1",
"light": "file:lib/light",
"log": "file:lib/log",
"moment": "^2.27.0",
"moment": "^2.29.1",
"mscript": "file:lib/mscript",
"node-notifier": "^7.0.2",
"node-notifier": "^9.0.0",
"proj": "file:lib/proj",
"request": "^2.88.2",
"sequencer": "file:lib/sequencer",
"serialport": "^9.0.0",
"serialport": "^9.0.7",
"server": "file:lib/server",
"settings": "file:lib/settings",
"spawn": "file:lib/spawn",
"system": "file:lib/system",
"uuid": "^8.2.0",
"uuid": "^8.3.2",
"winston": "^3.3.3"
},
"optionalDependencies": {

View File

@ -153,6 +153,8 @@ class FilmOut {
if (!files) return false;
pathStr = files.filePaths[0];
console.dir(pathStr)
if (pathStr && pathStr !== '') {
ext = path.extname(pathStr.toLowerCase());

View File

@ -1,5 +1,5 @@
{
"version": "1.6.6",
"version": "1.6.7",
"ext_port": 1111,
"profiles": {
"mcopy": {

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "mcopy",
"version": "1.6.6",
"version": "1.6.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "1.6.6",
"version": "1.6.7",
"license": "MIT",
"dependencies": {
"arduino": "file:app/lib/arduino",

View File

@ -1,6 +1,6 @@
{
"name": "mcopy",
"version": "1.6.6",
"version": "1.6.7",
"description": "Small gauge film optical printer platform",
"main": "build.js",
"directories": {

View File

@ -1,5 +1,5 @@
{
"version": "1.6.6",
"version": "1.6.7",
"ext_port": 1111,
"profiles": {
"mcopy": {