-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat: use electron-winstaller instead of self module #8344
base: master
Are you sure you want to change the base?
Conversation
beyondkmp
commented
Jul 17, 2024
•
edited
Loading
edited
- support window arm
- fix bugs(https://github.com/Squirrel/Squirrel.Windows/releases)
|
❌ Deploy Preview for car-park-attendant-cleat-11576 failed.
|
Is this package actually still supported by the electron team? Many packages in that org have been dead for a long time. |
That's a great point. @beyondkmp what bug fixes is this solving for? (Can't tell from the description) |
@Stanzilla looks like updates are still being pushed to |
It's a bit much; we can get it from the release page(https://github.com/Squirrel/Squirrel.Windows/releases). However, what I want most is to update to the latest commit to include this fix: Squirrel/Squirrel.Windows#1862. My plan is to first update to version 2.0.1. If there are no issues, then update to the latest. |
This https://github.com/electron/windows-installer is being updated, but some updates are not timely, and some executable files are almost 10 years old. I have identified two issues and submitted PRs for them. electron/windows-installer#524 Currently, I have forked the repository and published |
This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days. |
@@ -376,6 +375,55 @@ async function checkMacResult(packager: Packager, packagerOptions: PackagerOptio | |||
} | |||
} | |||
|
|||
async function listNupkgContents(nupkgPath: string) { |
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.
Why switch to the 7z command instead of using decompress-zip? In the newer version, the nupkg files generated will have garbled characters when decompressed by decompress-zip (e.g., the file Test App ßW.exe). Moreover, the decompress-zip library hasn't been updated for 4 years. After reviewing the Squirrel Windows source code, I found that they use the 7z command for compression, so I believe it makes more sense to switch to 7z for decompression here.
const vendorDirectory = await getBin( | ||
"Squirrel.Windows-2.0.1", | ||
"https://github.com/beyondkmp/electron-builder-binaries/releases/download/Squirrel.Windows-2.0.1/Squirrel.Windows-2.0.1.7z", | ||
"IGIosfkJ25mhpGS6LREBbaSq4uysb3lwXUzt0psM9UBeaVvpOfDz0ZUqat6WAaji35n0oXJqw63WXT24/7ksLA==" |
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.
I got this squirrel release from https://github.com/electron/windows-installer/tree/main/vendor