- 
 
- 
  Notifications
 You must be signed in to change notification settings 
- Fork 512
 chore: update electron dependency + Node.js
 #2199
 
 New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
19b49ec to
 ed42b34  
 Compare
 
 electron dependency + Node.js (追記ここまで)
 There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also update the Node version in these workflows:
narrow the `resources` folder constraint in the .gitignore Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
remove `msvs_version` npm config on win32 Ref: nodejs/node-gyp#2822 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
- Update to `electron-builder@24.6.3`. - Fix obsolete electron security section in the development docs. Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
ed42b34 to
 62736fa  
 Compare
 
 There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chicken-egg problem: the main still does not support Node.js 18+. Here is what should work. The git checkout part differs
#!/bin/bash -i sudo apt update \ && sudo apt install --no-install-recommends --yes \ git \ gcc \ curl \ make \ python3 \ pkg-config \ libx11-dev \ libxkbfile-dev \ build-essential \ libsecret-1-dev \ && wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash \ && source ~/.bashrc \ && nvm install 18.17 \ && nvm use 18.17 \ && nvm alias default 18.17 \ && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - \ && echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list \ && sudo apt update && sudo apt install --no-install-recommends yarn \ && mkdir -p ~/dev/git/ \ && rm -rf ~/dev/git/arduino-ide \ && git clone https://github.com/arduino/arduino-ide.git ~/dev/git/arduino-ide \ && git -C ~/dev/git/arduino-ide checkout origin/update-infra -b update-infra \ && yarn --cwd ~/dev/git/arduino-ide \ && yarn --cwd ~/dev/git/arduino-ide/electron-app rebuild \ && yarn --cwd ~/dev/git/arduino-ide build \ && yarn --cwd ~/dev/git/arduino-ide start
Please review. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all makes sense, I do not see any issues.
Uh oh!
There was an error while loading. Please reload this page.
Motivation
Use Node.js 18+ and the latest Electron version for the build and runtime.
Change description
prettierconfig,>=18.17.0,electron@25.5.0Other information
For reviewers:
Reviewer checklist