Родитель
9b9dc274b9
Коммит
d5b86a7c20
|
@ -19,11 +19,6 @@ You can either download a pre-built version or build it yourself.
|
|||
|
||||
Go to the [Releases](https://github.com/Azure/azure-iot-explorer/releases) tab, download the installer corresponding to your platform and install.
|
||||
|
||||
### Install via Chocolatey
|
||||
Chocolatey is a means to deploy and configure software for Windows operating systems via scripting.
|
||||
|
||||
After installing [Chocolatey](chocolatey.org), run `choco install azure-iot-explorer --pre`.
|
||||
|
||||
### Run it locally and build it yourself
|
||||
|
||||
1. Open a Node capable command prompt
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
# Creating package for chocolatey
|
||||
|
||||
## Updating for release
|
||||
To update chocolatey package for a new IoT Explorer build, you must follow these steps
|
||||
1. Change `<version/>` tag in [azure-iot-explorer.nuspec](azure-iot-explorer.nuspec)
|
||||
1. Change `$url` value in [chocolateyinstall.ps1](tools/chocolateyinstall.ps1)
|
||||
1. Download the MSI that corresponds to the `$url` value you set above.
|
||||
1. Run `Get-FileHash -Path <path to MSI>` and put the SHA512 value in to the `$packageArgs.checksum` value.
|
||||
1. Run `choco pack` PowerShell from this directory
|
||||
1. Inspect and test the generated `azure-iot-explorer.x.x.x.nupkg in the current directory
|
||||
1. Run `choco push --api-key {your api key goes here}` to publish to [Chocolatey](www.chocolatey.org)
|
||||
|
||||
## When to release
|
||||
Update the chocolatey package after new release is published to [releases](github.com/Azure/azure-iot-explorer/releases/latest).
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
- Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
- Licensed under the MIT License
|
||||
-->
|
||||
|
||||
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>azure-iot-explorer</id>
|
||||
<version>0.14.5-preview</version>
|
||||
<packageSourceUrl>https://github.com/Azure/azure-iot-explorer</packageSourceUrl>
|
||||
<owners>Paul Montgomery; Ying Xue</owners>
|
||||
<title>Azure IoT explorer</title>
|
||||
<authors>Microsoft Corporation</authors>
|
||||
<projectUrl>https://github.com/Azure/azure-iot-explorer</projectUrl>
|
||||
<iconUrl>https://rawcdn.githack.com/Azure/azure-iot-explorer/003383b24daf4a78d75015fa80be5664dfd04b9e/icon/icon.ico</iconUrl>
|
||||
<copyright>2020 Microsoft Corporation</copyright>
|
||||
<licenseUrl>https://raw.githubusercontent.com/Azure/azure-iot-explorer/master/LICENSE</licenseUrl>
|
||||
<requireLicenseAcceptance>true</requireLicenseAcceptance>
|
||||
<projectSourceUrl>https://github.com/Azure/azure-iot-explorer</projectSourceUrl>
|
||||
<docsUrl>https://github.com/Azure/azure-iot-explorer</docsUrl>
|
||||
<bugTrackerUrl>https://github.com/Azure/azure-iot-explorer/issues</bugTrackerUrl>
|
||||
<tags>Azure IoT</tags>
|
||||
<summary>Graphical UX for interacting with Azure IoT solutions</summary>
|
||||
<description>Graphical UX for interacting with Azure IoT solutions</description>
|
||||
</metadata>
|
||||
<files>
|
||||
<!-- this section controls what actually gets packaged into the Chocolatey package -->
|
||||
<file src="tools\**" target="tools" />
|
||||
<!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->
|
||||
</files>
|
||||
</package>
|
|
@ -1,27 +0,0 @@
|
|||
|
||||
# --------------------------------------------------------------------------------------------
|
||||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Unpublished works.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
||||
$ErrorActionPreference = 'Stop';
|
||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
$url = 'https://github.com/Azure/azure-iot-explorer/releases/download/v0.14.5/Azure.IoT.Explorer.preview.0.14.5.msi'
|
||||
|
||||
$packageArgs = @{
|
||||
packageName = $env:ChocolateyPackageName
|
||||
unzipLocation = $toolsDir
|
||||
fileType = 'MSI'
|
||||
url = $url
|
||||
url64bit = $url64
|
||||
|
||||
softwareName = 'Azure IoT explorer'
|
||||
|
||||
checksum = '' # Get this value after file is published.
|
||||
checksumType = 'sha256'
|
||||
|
||||
silentArgs = "/qn /norestart"
|
||||
validExitCodes= @(0, 3010, 1641)
|
||||
}
|
||||
|
||||
Install-ChocolateyPackage @packageArgs
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "azure-iot-explorer",
|
||||
"version": "0.15.1",
|
||||
"version": "0.15.2",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "azure-iot-explorer",
|
||||
"version": "0.15.1",
|
||||
"version": "0.15.2",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@azure/core-amqp": "^3.2.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-explorer",
|
||||
"version": "0.15.1",
|
||||
"version": "0.15.2",
|
||||
"description": "This project welcomes contributions and suggestions. Most contributions require you to agree to a\r Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r the rights to use your contribution. For details, visit https://cla.microsoft.com.",
|
||||
"main": "host/electron.js",
|
||||
"build": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче