cake-electron-net - Cake.Electron.Net 1.1.0.7
Cake AddIn that extends Cake with Electron.NET
PM> Install-Package Cake.Electron.Net -Version 1.1.0.7 -Source https://www.myget.org/F/cake-electron-net/api/v3/index.json
> nuget.exe install Cake.Electron.Net -Version 1.1.0.7 -Source https://www.myget.org/F/cake-electron-net/api/v3/index.json
> dotnet add package Cake.Electron.Net --version 1.1.0.7 --source https://www.myget.org/F/cake-electron-net/api/v3/index.json
source https://www.myget.org/F/cake-electron-net/api/v3/index.json
nuget Cake.Electron.Net ~> 1.1.0.7
Copy to clipboard
> choco install Cake.Electron.Net --version 1.1.0.7 --source https://www.myget.org/F/cake-electron-net/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "cake-electron-net" -SourceLocation "https://www.myget.org/F/cake-electron-net/api/v2"
Install-Module -Name "Cake.Electron.Net" -RequiredVersion "1.1.0.7" -Repository "cake-electron-net"
Copy to clipboard
Cake.Electron.Net
A Cake AddIn that extends Cake with Electron.NET command tools.
Stable | Nightly |
---|---|
Continuous integration
Build server | Platform | Build status |
---|---|---|
Azure Pipelines | Ubuntu | |
Azure Pipelines | macOs | |
Azure Pipelines | Windows |
Table of Contents
Requirements To Run
Cake.Electron.Net
is depends on ElectronNET.CLI
cli tool. Make sure you have installed the ElectronNET.CLI packages as global tool:
dotnet tool install ElectronNET.CLI -g
Including Add-in
Including add-in in cake script is easy.
#addin "nuget:?package=Cake.Electron.Net"
Usage
Please see Electron.NET for commands usages.
Commands Supported
- ElectronNetBuild
- ElectronNetAdd
- ElectronNetInit
- ElectronNetStart
- ElectronNetVersion
Example
using Cake.Electron.Net
using Cake.Electron.Net.Commands.Settings
Task("Build")
.Does(() => {
ElectronNetVersion(workingDirectory);
ElectronNetBuildSettings settings = new ElectronNetBuildSettings();
settings.WorkingDirectory = workingDirectory;
settings.ElectronTarget = ElectronTarget.Win;
settings.DotNetConfig = DotNetConfig.Release;
ElectronNetBuild(settings);
});
Licenses
Licensed under MIT, see LICENSE for the full text.
Important Notes
ElectronNET.API & ElectronNET.CLI Version 5.22.12
Make sure you also have the new Electron.NET CLI 5.22.12 version. This now uses electron-builder and the necessary configuration to build is made in the electron.manifest.json file. In addition, own Electron.NET configurations are stored. Please make sure that your electron.manifest.json file has the following new structure:
{
"executable": "{{executable}}",
"splashscreen": {
"imageFile": ""
},
"singleInstance": false,
"build": {
"appId": "com.{{executable}}.app",
"productName": "{{executable}}",
"copyright": "Copyright © 2019",
"buildVersion": "1.0.0",
"compression": "maximum",
"directories": {
"output": "../../../bin/Desktop"
},
"extraResources": [
{
"from": "./bin",
"to": "bin",
"filter": ["**/*"]
}
],
"files": [
{
"from": "./ElectronHostHook/node_modules",
"to": "ElectronHostHook/node_modules",
"filter": ["**/*"]
},
"**/*"
]
}
}
ElectronNET.CLI Version 0.0.9
In the Version 0.0.9 the CLI was not a global tool and needed to be registred like this in the .csproj:
<ItemGroup>
<DotNetCliToolReference Include="ElectronNET.CLI" Version="0.0.9" />
</ItemGroup>
If you still use this version you will need to install Cake.Electron.Net v0.0.9
- .NETFramework 4.6.1: 4.6.1.0
- .NETStandard 2.0: 2.0.0.0
OwnersDeniz İrgin |
AuthorsDeniz İrgin |
Project URLhttps://github.com/Blind-Striker/Cake.Electron.Net |
LicenseUnknown |
Tagscake, cake-build, cake-contrib, electron, electron-net |
Info24 total downloads |
3 downloads for version 1.1.0.7 |
Download (33.88 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
1.1.0.7 | 33.88 KB | Thu, 29 Apr 2021 19:02:51 GMT | 3 | ||||
1.1.0.6 | 33.21 KB | Mon, 27 Jan 2020 10:14:13 GMT | 3 | ||||
1.1.0.5 | 33.21 KB | Mon, 27 Jan 2020 10:05:03 GMT | 1 | ||||
1.1.0.4 | 33.21 KB | Mon, 27 Jan 2020 09:58:43 GMT | 2 | ||||
1.1.0.3 | 33.21 KB | Mon, 27 Jan 2020 09:53:05 GMT | 1 | ||||
1.1.0.2 | 33.21 KB | Mon, 27 Jan 2020 08:43:45 GMT | 1 | ||||
1.1.0.1 | 33.21 KB | Mon, 27 Jan 2020 08:26:45 GMT | 3 | ||||
1.1.0 | 33.2 KB | Sun, 26 Jan 2020 09:20:01 GMT | 3 | ||||
1.0.0.7 | 18.08 KB | Sun, 26 Jan 2020 08:56:01 GMT | 2 | ||||
1.0.0.6 | 18.08 KB | Sun, 26 Jan 2020 08:45:48 GMT | 1 | ||||
1.0.0.3 | 17.12 KB | Sat, 25 Jan 2020 14:20:54 GMT | 1 | ||||
1.0.0.2 | 17.12 KB | Sun, 08 Sep 2019 14:06:33 GMT | 1 | ||||
1.0.0.1 | 17.12 KB | Sat, 07 Sep 2019 21:53:51 GMT | 1 | ||||
1.0.0 | 17.09 KB | Sat, 07 Sep 2019 21:38:05 GMT | 1 |