-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: generate stubExecutableExe and sign it #8959
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
Merged
beyondkmp
merged 40 commits into
electron-userland:master
from
beyondkmp:StubExecutable
Jul 31, 2025
Merged
Changes from 13 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
15ee162
generate stubExecutableExe and sign it
beyondkmp 3e7b26b
generate _ExecutionStub.exe after prepared vendor
beyondkmp 1134394
add vendor files from winows-installer
beyondkmp c5c41f5
update squirrel window from https://github.com/beyondkmp/Squirrel.Win…
beyondkmp bcabba8
change default vendor
beyondkmp faa8df7
update vendor from https://github.com/beyondkmp/Squirrel.Windows/acti…
beyondkmp d5bdf42
fix ut
beyondkmp aea79ff
update ut
beyondkmp 03e9201
update ut
beyondkmp f3f25c1
change to default vendor when custom vendor is empty
beyondkmp 5d29591
Merge branch 'master' into StubExecutable
mmaietta 49a88b7
fix comments
beyondkmp dc6c1fb
Merge branch 'master' into StubExecutable
beyondkmp ecfa950
add vendor to package.json
beyondkmp b954be0
fix comments
beyondkmp 9800401
fix fileNameWithoutExt with basename .exe
beyondkmp 4c7599d
Merge branch 'master' into StubExecutable
beyondkmp a5733ba
Merge branch 'master' into StubExecutable
beyondkmp 713d4f3
refactor: update Squirrel.Windows vendor handling and remove obsolete…
beyondkmp 1825476
Merge branch 'master' into StubExecutable
beyondkmp 73db025
chore: remove vendor directory from package.json files list to stream…
beyondkmp b7b1b58
chore: update Squirrel.Windows binary version to 2.0.1-patched for im…
beyondkmp 0e5b61c
chore: update Squirrel.Windows binary download method to use new URL …
beyondkmp 3b9ba8e
fix: update vendor directory resolution for Squirrel.Windows to ensur…
beyondkmp 4d18d74
fix: correct path for copying custom Squirrel.Windows binaries to ens…
beyondkmp 634c84c
Merge branch 'master' into StubExecutable
beyondkmp 3dd31a0
Merge branch 'master' into StubExecutable
mmaietta 439c4ce
Merge branch 'master' into StubExecutable
mmaietta 1cd2bc9
fix comments
beyondkmp e78f7dd
refactor: improve error handling for missing app executable in Squirr…
beyondkmp 69feef9
Merge branch 'master' into StubExecutable
mmaietta 71ee208
Create lovely-brooms-move.md
mmaietta a08d1db
Merge branch 'master' into StubExecutable
beyondkmp 390f631
refactor(SquirrelWindowsTarget): replace getBin with getBinFromUrl fo…
beyondkmp eb5d7b3
use getbin
beyondkmp f92b073
Merge branch 'master' into StubExecutable
mmaietta 3ad8b8a
fix ut
beyondkmp 2b86c16
Merge branch 'master' into StubExecutable
beyondkmp 07badb5
delete log
beyondkmp afa0513
Merge branch 'master' into StubExecutable
beyondkmp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+44 KB
packages/electron-builder-squirrel-windows/vendor/Microsoft.Deployment.Resources.dll
Binary file not shown.
Binary file added
BIN
+172 KB
packages/electron-builder-squirrel-windows/vendor/Microsoft.Deployment.WindowsInstaller.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+344 KB
packages/electron-builder-squirrel-windows/vendor/WixNetFxExtension.dll
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.64 MB
packages/electron-builder-squirrel-windows/vendor/WriteZipToSetup.pdb
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
packages/electron-builder-squirrel-windows/vendor/candle.exe.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <!-- | ||
| <copyright file="app.config" company="Outercurve Foundation"> | ||
| Copyright (c) 2004, Outercurve Foundation. | ||
| This software is released under Microsoft Reciprocal License (MS-RL). | ||
| The license and further copyright text can be found in the file | ||
| LICENSE.TXT at the root directory of the distribution. | ||
| </copyright> | ||
| --> | ||
| <configuration> | ||
| <startup useLegacyV2RuntimeActivationPolicy="true"> | ||
| <supportedRuntime version="v4.0" /> | ||
| <supportedRuntime version="v2.0.50727" /> | ||
| </startup> | ||
| <runtime> | ||
| <loadFromRemoteSources enabled="true"/> | ||
| </runtime> | ||
| </configuration> |
Binary file not shown.
Binary file not shown.
18 changes: 18 additions & 0 deletions
18
packages/electron-builder-squirrel-windows/vendor/light.exe.config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| <?xml version="1.0" encoding="utf-8" ?> | ||
| <!-- | ||
| <copyright file="app.config" company="Outercurve Foundation"> | ||
| Copyright (c) 2004, Outercurve Foundation. | ||
| This software is released under Microsoft Reciprocal License (MS-RL). | ||
| The license and further copyright text can be found in the file | ||
| LICENSE.TXT at the root directory of the distribution. | ||
| </copyright> | ||
| --> | ||
| <configuration> | ||
| <startup useLegacyV2RuntimeActivationPolicy="true"> | ||
| <supportedRuntime version="v4.0" /> | ||
| <supportedRuntime version="v2.0.50727" /> | ||
| </startup> | ||
| <runtime> | ||
| <loadFromRemoteSources enabled="true"/> | ||
| </runtime> | ||
| </configuration> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 39 additions & 0 deletions
39
packages/electron-builder-squirrel-windows/vendor/template.wxs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension"> | ||
| <Product Id="*" Name="{{Title}} Deployment Tool" Language="1033" Codepage="{{Codepage}}" Version="!(bind.FileVersion.{{Id}}.exe)" UpgradeCode="{{IdAsGuid1}}" Manufacturer="{{Author}}"> | ||
|
|
||
| <Package Description="This package installs a deployment tool for {{Title}}. Not {{Title}} itself. {{Title}} is only installed if a user logs into the machine." InstallScope="perMachine" Comments="Comments" InstallerVersion="200" Compressed="yes" Platform="{{Platform}}"/> | ||
| <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A later version of this product is already installed. Setup will now exit."/> | ||
| <Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/> | ||
|
|
||
| <PropertyRef Id="NETFRAMEWORK45" /> | ||
|
|
||
| <Condition Message="This application requires .NET Framework 4.5 or higher. Please install the latest .NET Framework then run this installer again."> | ||
| <![CDATA[Installed OR NETFRAMEWORK45]]> | ||
| </Condition> | ||
|
|
||
| <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| <Directory Id="{{ProgramFilesFolder}}"> | ||
| <Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Deployment" /> | ||
| </Directory> | ||
| </Directory> | ||
|
|
||
| <DirectoryRef Id="APPLICATIONROOTDIRECTORY"> | ||
| <Component Id="{{Id}}.exe" Guid="{{IdAsGuid2}}" Win64="{{Win64YesNo}}"> | ||
| <File Id="{{Id}}.exe" Name="{{Id}}DeploymentTool.exe" Source="./Setup.exe" KeyPath="yes"/> | ||
| </Component> | ||
| </DirectoryRef> | ||
|
|
||
| <DirectoryRef Id="TARGETDIR"> | ||
| <Component Id="RegistryEntries" Guid="{{IdAsGuid3}}" Win64="{{Win64YesNo}}"> | ||
| <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"> | ||
| <RegistryValue Type="expandable" Name="{{Id}}Deployment" Value=""[#{{Id}}.exe]" --checkInstall" /> | ||
| </RegistryKey> | ||
| </Component> | ||
| </DirectoryRef> | ||
|
|
||
| <Feature Id="MainApplication" Title="Main Application" Level="1"> | ||
| <ComponentRef Id="{{Id}}.exe" /> | ||
| <ComponentRef Id="RegistryEntries" /> | ||
| </Feature> | ||
| </Product> | ||
| </Wix> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.