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

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alienzhangyw committed Feb 7, 2022
1 parent eda69e9 commit 17b7395
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion BlockPi/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function createWindow() {
backgroundColor: '#2e2c29',
webPreferences: {
nodeIntegration: true,
nodeIntegrationInWorker: true
contextIsolation: false,
},
icon: nativeImage.createFromPath('BlockPi/src/media/logo_32x32.png')
})
Expand Down
9 changes: 3 additions & 6 deletions build/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# 1.2.0
# 1.2.1

Update Blockly core to 4.20201217.0.\
更新Blockly内核版本到4.20201217.0。

New designed logo.\
重新设计了logo。
Update Electron and other dependencies.\
更新Electron和其他依赖。
15 changes: 7 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockpi",
"version": "1.2.0",
"version": "1.2.1",
"description": "A visual programming editor for Raspberry Pi",
"main": "BlockPi/main.js",
"scripts": {
Expand All @@ -22,8 +22,8 @@
"url": "https://github.com/alienzhangyw/BlockPi.git"
},
"devDependencies": {
"electron": "^11.2.3",
"electron-builder": "^22.9.1",
"electron": "^17.0.0",
"electron-builder": "^22.14.13",
"electron-reload": "^1.5.0",
"fs": "0.0.1-security",
"google-closure-compiler": "^20210202.0.0",
Expand All @@ -36,13 +36,13 @@
"yargs": "^16.2.0"
},
"dependencies": {
"electron-updater": "^4.3.5",
"electron-updater": "^4.6.5",
"iconv-lite": "^0.6.2"
},
"build": {
"appId": "com.github.alienzhangyw.blockpi",
"productName": "BlockPi",
"copyright": "Copyright © 2019-2021 ${author}",
"copyright": "Copyright © 2019-2022 ${author}",
"directories": {
"buildResources": "build",
"output": "dist"
Expand Down Expand Up @@ -73,7 +73,7 @@
},
{
"target": "deb",
"arch": "armv7l"
"arch": ["armv7l", "arm64"]
}
],
"category": "Development"
Expand All @@ -83,15 +83,14 @@
},
"deb": {
"fpm": [
"--architecture=armhf",
"--architecture=all",
"--before-install=build/requirements.sh"
],
"depends": [
"python3",
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"python3-gpiozero",
Expand Down

0 comments on commit 17b7395

Please sign in to comment.