-
-
Couldn't load subscription status.
- Fork 374
add support for windows msi format #2910
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
base: master
Are you sure you want to change the base?
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdated the Electron build configuration to add MSI installer support for Windows alongside existing NSIS targets, covering both x64 and arm64 architectures. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary of ChangesHello @imolorhe, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the Windows distribution capabilities by integrating support for MSI installers. This change provides an additional, standard installation method for Windows users, complementing the existing NSIS installer. The core modification involves updating the Electron build configuration to generate MSI packages, ensuring broader compatibility across both 64-bit and ARM-based Windows systems. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. WalkthroughAdded Windows installer targets (nsis and msi) for x64 to the win section in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
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.
Code Review
This pull request adds support for generating MSI installers for Windows, for both x64 and arm64 architectures. The configuration change in electron-builder.yml is correct. I've suggested a small simplification to avoid duplicating the architecture list, which will improve the maintainability of the configuration file.
| target: | ||
| - target: nsis | ||
| arch: | ||
| - x64 | ||
| - arm64 | ||
| - target: msi | ||
| arch: | ||
| - x64 | ||
| - arm64 |
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.
The list of architectures is duplicated for both nsis and msi targets. You can define the architectures once at the win level to apply to all Windows targets. This will make the configuration more concise and easier to maintain.1
target:
- nsis
- msi
arch:
- x64
- arm64Rules References
Footnotes
-
Adhering to the Don't Repeat Yourself (DRY) principle helps in reducing repetition of information, which is beneficial for maintenance. In this case, defining the architectures once avoids potential inconsistencies if they need to be updated in the future. ↩
|
Visit the preview URL for this PR (updated for commit cbb2926): https://altair-gql--pr2910-imolorhe-support-win-ynnx9m48.web.app (expires Sat, 18 Oct 2025 07:25:01 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 02d6323d75a99e532a38922862e269d63351a6cf |
|
Related. Looks like signing has to be done electron-userland/electron-builder#7248 |
Fixes
#2882
Checks
yarn test-buildChanges proposed in this pull request:
Summary by Sourcery
New Features:
Summary by CodeRabbit