зеркало из
1
0
Форкнуть 0
* remove choco

* update package and readme
This commit is contained in:
YingXue 2022-11-11 15:11:45 -08:00 коммит произвёл GitHub
Родитель 9b9dc274b9
Коммит d5b86a7c20
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 3 добавлений и 82 удалений

Просмотреть файл

@ -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 “Ω” doesnt 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

4
package-lock.json сгенерированный
Просмотреть файл

@ -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": {