From b879506100972a3ff93b98438fd3293809af017e Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Tue, 10 Jan 2023 12:22:10 +1030 Subject: [PATCH] Add pbi-tools --- pbi-tools/pbi-tools.nuspec | 33 +++++++++++++++++++++++++++ pbi-tools/tools/chocolateyinstall.ps1 | 17 ++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 pbi-tools/pbi-tools.nuspec create mode 100644 pbi-tools/tools/chocolateyinstall.ps1 diff --git a/pbi-tools/pbi-tools.nuspec b/pbi-tools/pbi-tools.nuspec new file mode 100644 index 00000000..eb2d0b13 --- /dev/null +++ b/pbi-tools/pbi-tools.nuspec @@ -0,0 +1,33 @@ + + + + + pbi-tools + 1.0.0-rc02 + https://github.com/flcdrg/au-packages/tree/master/pbi-tools + flcdrg + pbi-tools + Mathias Thierbach + https://pbi.tools/ + https://pbi.tools/images/company_logo.png + Mathias Thierbach + https://raw.githubusercontent.com/pbi-tools/pbi-tools/main/LICENSE + false + https://github.com/pbi-tools/pbi-tools + https://pbi.tools/cli/ + https://github.com/pbi-tools/pbi-tools/issues + power-bi business intelligence + a command-line tool bringing source-control features to Power BI. It works alongside Power BI Desktop and enables mature enterprise workflows for Power BI projects. + `pbi-tools` is a command-line tool bringing source-control features to Power BI. It works alongside Power BI Desktop and enables mature enterprise workflows for Power BI projects. + +### Prerequisites + +- Windows 64-bit +- Power BI Desktop 64-bit. Installer version (default location) and/or Windows Store version supported. Optionally, pbi-tools works with Power BI Desktop in a custom location, provided the path is specified in the `PBITOOLS_PbiInstallDir` environment variable. +- .Net Framework Runtime 4.7.2 (Comes with Power BI Desktop) + + + + + + diff --git a/pbi-tools/tools/chocolateyinstall.ps1 b/pbi-tools/tools/chocolateyinstall.ps1 new file mode 100644 index 00000000..7f9f03de --- /dev/null +++ b/pbi-tools/tools/chocolateyinstall.ps1 @@ -0,0 +1,17 @@ +$ErrorActionPreference = 'Stop'; +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" + +$packageArgs = @{ + packageName = $env:ChocolateyPackageName + softwareName = 'pbi-tools*' + fileType = 'zip' + silentArgs = '' + + validExitCodes= @(0) + url64 = "https://github.com/pbi-tools/pbi-tools/releases/download/1.0.0-rc.2/pbi-tools.1.0.0-rc.2.zip" #download URL, HTTPS preferrred + checksum64 = '2DA0061A53C17BA1B2840BF89EF58B496F9AAB1355FB09A16094D3E3FFB6E934' + checksumType64= 'sha256' + destination = $toolsDir +} + +Install-ChocolateyZipPackage @packageArgs