[update] main.js package.json

This commit is contained in:
ocogeclub 2021-12-23 20:03:50 +09:00
parent f4bee041e0
commit 7d3aa3a0d8
3 changed files with 4 additions and 2 deletions

View File

@ -13,7 +13,7 @@ function createWindow() {
// Create the browser window. // Create the browser window.
win = new BrowserWindow({ win = new BrowserWindow({
/** Icon */ /** Icon */
icon: "./icon.png", icon: path.join(__dirname, "icon.png"),
width: 1280, width: 1280,
height: 940, height: 940,
webPreferences: { webPreferences: {

1
package-lock.json generated
View File

@ -49,6 +49,7 @@
}, },
"local_modules/@ocogeclub/pigpio": { "local_modules/@ocogeclub/pigpio": {
"version": "0.0.1", "version": "0.0.1",
"hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"bindings": "^1.5.0", "bindings": "^1.5.0",

View File

@ -4,6 +4,7 @@
"description": "\"大岩産 Code Generator\" は、Google Blockly ライブラリを使用した、Raspberry Pi 上で動作するブロックプログラム開発・実行環境です。", "description": "\"大岩産 Code Generator\" は、Google Blockly ライブラリを使用した、Raspberry Pi 上で動作するブロックプログラム開発・実行環境です。",
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
"install": "npm install --legacy-peer-deps",
"start": "electron .", "start": "electron .",
"rebuild": "electron-rebuild" "rebuild": "electron-rebuild"
}, },
@ -23,10 +24,10 @@
"electron-rebuild": "^3.2.5" "electron-rebuild": "^3.2.5"
}, },
"dependencies": { "dependencies": {
"@ocogeclub/pigpio": "file:local_modules/@ocogeclub/pigpio",
"@ocogeclub/amg8833": "file:local_modules/@ocogeclub/amg8833", "@ocogeclub/amg8833": "file:local_modules/@ocogeclub/amg8833",
"@ocogeclub/bme280": "file:local_modules/@ocogeclub/bme280", "@ocogeclub/bme280": "file:local_modules/@ocogeclub/bme280",
"@ocogeclub/paj7620": "file:local_modules/@ocogeclub/paj7620", "@ocogeclub/paj7620": "file:local_modules/@ocogeclub/paj7620",
"@ocogeclub/pigpio": "file:local_modules/@ocogeclub/pigpio",
"@tensorflow-models/knn-classifier": "^1.2.2", "@tensorflow-models/knn-classifier": "^1.2.2",
"@tensorflow-models/mobilenet": "^2.1.0", "@tensorflow-models/mobilenet": "^2.1.0",
"@tensorflow/tfjs-node": "^3.11.0", "@tensorflow/tfjs-node": "^3.11.0",