@loongdotjs/electron-winstaller 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +95 -0
- package/.editorconfig +9 -0
- package/.eslintrc.json +30 -0
- package/.github/CODEOWNERS +1 -0
- package/.github/dependabot.yml +6 -0
- package/.github/workflows/add-to-project.yml +29 -0
- package/.github/workflows/semantic.yml +26 -0
- package/.gitignore +18 -0
- package/.releaserc.json +9 -0
- package/LICENSE +20 -0
- package/README.md +189 -0
- package/lib/index.d.ts +20 -0
- package/lib/index.js +350 -0
- package/lib/index.js.map +1 -0
- package/lib/options.d.ts +219 -0
- package/lib/options.js +6 -0
- package/lib/options.js.map +1 -0
- package/lib/sign.d.ts +15 -0
- package/lib/sign.js +189 -0
- package/lib/sign.js.map +1 -0
- package/lib/spawn-promise.d.ts +3 -0
- package/lib/spawn-promise.js +54 -0
- package/lib/spawn-promise.js.map +1 -0
- package/lib/temp-utils.d.ts +3 -0
- package/lib/temp-utils.js +32 -0
- package/lib/temp-utils.js.map +1 -0
- package/package.json +69 -0
- package/resources/install-spinner.gif +0 -0
- package/script/select-7z-arch.js +33 -0
- package/spec/convert-version-spec.ts +14 -0
- package/spec/fixtures/app/LICENSE +0 -0
- package/spec/fixtures/app/chromiumcontent.dll +0 -0
- package/spec/fixtures/app/d3dcompiler_47.dll +0 -0
- package/spec/fixtures/app/ffmpegsumo.dll +0 -0
- package/spec/fixtures/app/icudtl.dat +0 -0
- package/spec/fixtures/app/locales/en.pak +0 -0
- package/spec/fixtures/app/msvcp120.dll +0 -0
- package/spec/fixtures/app/msvcr120.dll +0 -0
- package/spec/fixtures/app/myapp.exe +0 -0
- package/spec/fixtures/app/natives_blob.bin +0 -0
- package/spec/fixtures/app/resources/app/package.json +7 -0
- package/spec/fixtures/app/snapshot_blob.bin +0 -0
- package/spec/fixtures/app/swiftshader/libEGL.dll +0 -0
- package/spec/fixtures/app/swiftshader/libGLESv2.dll +0 -0
- package/spec/fixtures/app/vccorlib120.dll +0 -0
- package/spec/fixtures/app/vk_swiftshader.dll +0 -0
- package/spec/fixtures/app/vk_swiftshader_icd.json +0 -0
- package/spec/fixtures/app/xinput1_3.dll +0 -0
- package/spec/helpers/helpers.ts +12 -0
- package/spec/helpers/windowsSignHook.js +8 -0
- package/spec/installer-spec.ts +70 -0
- package/spec/sign-spec.ts +48 -0
- package/src/index.ts +271 -0
- package/src/options.ts +228 -0
- package/src/sign.ts +89 -0
- package/src/spawn-promise.ts +55 -0
- package/src/temp-utils.ts +9 -0
- package/template.nuspectemplate +30 -0
- package/tsconfig.json +21 -0
- package/typedoc.json +4 -0
- package/vendor/7z-arm64.dll +0 -0
- package/vendor/7z-arm64.exe +0 -0
- package/vendor/7z-x64.dll +0 -0
- package/vendor/7z-x64.exe +0 -0
- package/vendor/Microsoft.Deployment.Resources.dll +0 -0
- package/vendor/Microsoft.Deployment.WindowsInstaller.dll +0 -0
- package/vendor/Setup.exe +0 -0
- package/vendor/Setup.pdb +0 -0
- package/vendor/Squirrel-Mono.exe +0 -0
- package/vendor/Squirrel-Mono.pdb +0 -0
- package/vendor/Squirrel.com +0 -0
- package/vendor/Squirrel.exe +0 -0
- package/vendor/Squirrel.pdb +0 -0
- package/vendor/StubExecutable.exe +0 -0
- package/vendor/SyncReleases.exe +0 -0
- package/vendor/SyncReleases.pdb +0 -0
- package/vendor/WixNetFxExtension.dll +0 -0
- package/vendor/WriteZipToSetup.exe +0 -0
- package/vendor/WriteZipToSetup.pdb +0 -0
- package/vendor/candle.exe +0 -0
- package/vendor/candle.exe.config +18 -0
- package/vendor/darice.cub +0 -0
- package/vendor/light.exe +0 -0
- package/vendor/light.exe.config +18 -0
- package/vendor/nuget.exe +0 -0
- package/vendor/rcedit.exe +0 -0
- package/vendor/signtool.exe +0 -0
- package/vendor/template.wxs +39 -0
- package/vendor/wconsole.dll +0 -0
- package/vendor/winterop.dll +0 -0
- package/vendor/wix.dll +0 -0
- package/yarn.lock +2008 -0
package/tsconfig.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"module": "commonjs",
|
|
4
|
+
"target": "es5",
|
|
5
|
+
"lib": [
|
|
6
|
+
"es2017"
|
|
7
|
+
],
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"outDir": "lib",
|
|
11
|
+
"declaration": true,
|
|
12
|
+
"esModuleInterop": true,
|
|
13
|
+
"types": [
|
|
14
|
+
"node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"include": [
|
|
18
|
+
"src",
|
|
19
|
+
"typings"
|
|
20
|
+
]
|
|
21
|
+
}
|
package/typedoc.json
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/vendor/Setup.exe
ADDED
|
Binary file
|
package/vendor/Setup.pdb
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!--
|
|
3
|
+
<copyright file="app.config" company="Outercurve Foundation">
|
|
4
|
+
Copyright (c) 2004, Outercurve Foundation.
|
|
5
|
+
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
6
|
+
The license and further copyright text can be found in the file
|
|
7
|
+
LICENSE.TXT at the root directory of the distribution.
|
|
8
|
+
</copyright>
|
|
9
|
+
-->
|
|
10
|
+
<configuration>
|
|
11
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
12
|
+
<supportedRuntime version="v4.0" />
|
|
13
|
+
<supportedRuntime version="v2.0.50727" />
|
|
14
|
+
</startup>
|
|
15
|
+
<runtime>
|
|
16
|
+
<loadFromRemoteSources enabled="true"/>
|
|
17
|
+
</runtime>
|
|
18
|
+
</configuration>
|
|
Binary file
|
package/vendor/light.exe
ADDED
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<!--
|
|
3
|
+
<copyright file="app.config" company="Outercurve Foundation">
|
|
4
|
+
Copyright (c) 2004, Outercurve Foundation.
|
|
5
|
+
This software is released under Microsoft Reciprocal License (MS-RL).
|
|
6
|
+
The license and further copyright text can be found in the file
|
|
7
|
+
LICENSE.TXT at the root directory of the distribution.
|
|
8
|
+
</copyright>
|
|
9
|
+
-->
|
|
10
|
+
<configuration>
|
|
11
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
12
|
+
<supportedRuntime version="v4.0" />
|
|
13
|
+
<supportedRuntime version="v2.0.50727" />
|
|
14
|
+
</startup>
|
|
15
|
+
<runtime>
|
|
16
|
+
<loadFromRemoteSources enabled="true"/>
|
|
17
|
+
</runtime>
|
|
18
|
+
</configuration>
|
package/vendor/nuget.exe
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<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">
|
|
2
|
+
<Product Id="*" Name="{{Title}} Deployment Tool" Language="1033" Codepage="{{Codepage}}" Version="!(bind.FileVersion.{{Id}}.exe)" UpgradeCode="{{IdAsGuid1}}" Manufacturer="{{Author}}">
|
|
3
|
+
|
|
4
|
+
<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}}"/>
|
|
5
|
+
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A later version of this product is already installed. Setup will now exit."/>
|
|
6
|
+
<Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/>
|
|
7
|
+
|
|
8
|
+
<PropertyRef Id="NETFRAMEWORK45" />
|
|
9
|
+
|
|
10
|
+
<Condition Message="This application requires .NET Framework 4.5 or higher. Please install the latest .NET Framework then run this installer again.">
|
|
11
|
+
<![CDATA[Installed OR NETFRAMEWORK45]]>
|
|
12
|
+
</Condition>
|
|
13
|
+
|
|
14
|
+
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
15
|
+
<Directory Id="{{ProgramFilesFolder}}">
|
|
16
|
+
<Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Deployment" />
|
|
17
|
+
</Directory>
|
|
18
|
+
</Directory>
|
|
19
|
+
|
|
20
|
+
<DirectoryRef Id="APPLICATIONROOTDIRECTORY">
|
|
21
|
+
<Component Id="{{Id}}.exe" Guid="{{IdAsGuid2}}" Win64="{{Win64YesNo}}">
|
|
22
|
+
<File Id="{{Id}}.exe" Name="{{Id}}DeploymentTool.exe" Source="./Setup.exe" KeyPath="yes"/>
|
|
23
|
+
</Component>
|
|
24
|
+
</DirectoryRef>
|
|
25
|
+
|
|
26
|
+
<DirectoryRef Id="TARGETDIR">
|
|
27
|
+
<Component Id="RegistryEntries" Guid="{{IdAsGuid3}}" Win64="{{Win64YesNo}}">
|
|
28
|
+
<RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Run">
|
|
29
|
+
<RegistryValue Type="expandable" Name="{{Id}}Deployment" Value=""[#{{Id}}.exe]" --checkInstall" />
|
|
30
|
+
</RegistryKey>
|
|
31
|
+
</Component>
|
|
32
|
+
</DirectoryRef>
|
|
33
|
+
|
|
34
|
+
<Feature Id="MainApplication" Title="Main Application" Level="1">
|
|
35
|
+
<ComponentRef Id="{{Id}}.exe" />
|
|
36
|
+
<ComponentRef Id="RegistryEntries" />
|
|
37
|
+
</Feature>
|
|
38
|
+
</Product>
|
|
39
|
+
</Wix>
|
|
Binary file
|
|
Binary file
|
package/vendor/wix.dll
ADDED
|
Binary file
|