Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@RobertGemmaJr
Copy link
Member

@RobertGemmaJr RobertGemmaJr commented Nov 3, 2023

  • Adds forge.config.js configuration file
  • Updates ecma version
  • Adds package script
  • package:<windows|mac|linux> now build off the package script
  • Consolidates the icons in assets/icons

@RobertGemmaJr RobertGemmaJr self-assigned this Nov 3, 2023
@RobertGemmaJr RobertGemmaJr linked an issue Nov 3, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Nov 3, 2023

Visit the preview URL for this PR (updated for commit 24968c8):

https://ccv-honeycomb--pr311-feat-electron-forge-pxkghmho.web.app

(expires Thu, 16 Nov 2023 16:28:11 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4ace1dcea913a952d2a1af84b94a4421bf36e610

forge.config.js Outdated
name: "@electron-forge/maker-squirrel",
config: {
// TODO: Honeycomb icon (hexagon on docs)
// TODO: This will break when we merge with main
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this an issue for existing honeycomb users or is it just the icon so they'll get like a missing image?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL is point to main and we're changing the path to that file so we'll have to update it when this PR gets into main (it's going into a different branch right now)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wait I can totally update the URL here for now, no one's going to be packaging based on this branch

Copy link
Contributor

@eldu eldu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Passing through ! 🏃

There are quite a few TODO statements here which look they they could be resolved by adding in the honeycomb icon png. Which could probably be done in this pr

I do like moving the forge config into it's own file though !

Also the check for the macOS build isn't going through

Copy link
Contributor

@digicosmos86 digicosmos86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I only have one question about native support for ARM macs.

package.json Outdated
"package": "npm run build && electron-forge make",
"package:windows": "npm run package -- --arch x64 --targets @electron-forge/maker-squirrel",
"package:linux": "npm run package -- --arch x64 --targets @electron-forge/maker-deb",
"package:mac": "npm run package -- --arch x64 --targets @electron-forge/maker-dmg"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this does not support ARM macs natively right? Is there an option that supports a universal build?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a universal value now, I'll swap it in!

@RobertGemmaJr
Copy link
Member Author

Also the check for the macOS build isn't going through

@digicosmos86 @eldu have you run into node gyp errors on Mac before? The build is failing on the npm install and I'm not sure why

@eldu
Copy link
Contributor

eldu commented Nov 9, 2023

Also the check for the macOS build isn't going through

@digicosmos86 @eldu have you run into node gyp errors on Mac before? The build is failing on the npm install and I'm not sure why

@RobertGemmaJr Perhaps upgrade node-gyp? It's at 10.0.1
https://github.com/nodejs/node-gyp

@eldu
Copy link
Contributor

eldu commented Nov 9, 2023

Oh node-gyp is not a direct dependency, nvm.

@RobertGemmaJr RobertGemmaJr merged commit 19eafd8 into feat-v3.3 Nov 9, 2023
@RobertGemmaJr RobertGemmaJr deleted the feat-electron-forge branch November 9, 2023 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants