Skip to content
This repository was archived by the owner on Jul 11, 2024. It is now read-only.

Commit 17b7395

Browse files
committed
Upgrade dependencies
1 parent eda69e9 commit 17b7395

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

BlockPi/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function createWindow() {
2828
backgroundColor: '#2e2c29',
2929
webPreferences: {
3030
nodeIntegration: true,
31-
nodeIntegrationInWorker: true
31+
contextIsolation: false,
3232
},
3333
icon: nativeImage.createFromPath('BlockPi/src/media/logo_32x32.png')
3434
})

build/release-notes.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# 1.2.0
1+
# 1.2.1
22

3-
Update Blockly core to 4.20201217.0.\
4-
更新Blockly内核版本到4.20201217.0。
5-
6-
New designed logo.\
7-
重新设计了logo。
3+
Update Electron and other dependencies.\
4+
更新Electron和其他依赖。

package.json

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blockpi",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A visual programming editor for Raspberry Pi",
55
"main": "BlockPi/main.js",
66
"scripts": {
@@ -22,8 +22,8 @@
2222
"url": "https://github.com/alienzhangyw/BlockPi.git"
2323
},
2424
"devDependencies": {
25-
"electron": "^11.2.3",
26-
"electron-builder": "^22.9.1",
25+
"electron": "^17.0.0",
26+
"electron-builder": "^22.14.13",
2727
"electron-reload": "^1.5.0",
2828
"fs": "0.0.1-security",
2929
"google-closure-compiler": "^20210202.0.0",
@@ -36,13 +36,13 @@
3636
"yargs": "^16.2.0"
3737
},
3838
"dependencies": {
39-
"electron-updater": "^4.3.5",
39+
"electron-updater": "^4.6.5",
4040
"iconv-lite": "^0.6.2"
4141
},
4242
"build": {
4343
"appId": "com.github.alienzhangyw.blockpi",
4444
"productName": "BlockPi",
45-
"copyright": "Copyright © 2019-2021 ${author}",
45+
"copyright": "Copyright © 2019-2022 ${author}",
4646
"directories": {
4747
"buildResources": "build",
4848
"output": "dist"
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"target": "deb",
76-
"arch": "armv7l"
76+
"arch": ["armv7l", "arm64"]
7777
}
7878
],
7979
"category": "Development"
@@ -83,15 +83,14 @@
8383
},
8484
"deb": {
8585
"fpm": [
86-
"--architecture=armhf",
86+
"--architecture=all",
8787
"--before-install=build/requirements.sh"
8888
],
8989
"depends": [
9090
"python3",
9191
"gconf2",
9292
"gconf-service",
9393
"libnotify4",
94-
"libappindicator1",
9594
"libxtst6",
9695
"libnss3",
9796
"python3-gpiozero",

0 commit comments

Comments
 (0)