diff --git a/ReadMe.md b/ReadMe.md new file mode 100644 index 0000000..687b274 --- /dev/null +++ b/ReadMe.md @@ -0,0 +1,20 @@ +# Cricut Design Space Chocolatey Package + + +## Summary + +Chocolatey package configuration for the Cricut Design Space application. + +## Creating Nuget Package + +Clone the repository and use Chocolatey to create the package + +## Testing Nuget Package + +Follow the instructions at the URL below to create and use a Chocolatey test environment: + + https://github.com/chocolatey-community/chocolatey-test-environment + +Note: as March 10, 2020, the default `shell/InstallChocolayet.ps1` file was not creating a TLS channel and thus would not install Chocolatey in the virtual machine. The link below contains a fix. Once the pull request is accepted in the test environment repository this message will be removed. + + https://github.com/chocolatey-community/chocolatey-test-environment/pull/49/commits/6b5563c52cf208834cc662e3f14a00bdad9bf567 \ No newline at end of file diff --git a/cricutdesignspace.nuspec b/cricutdesignspace.nuspec new file mode 100644 index 0000000..d15ed95 --- /dev/null +++ b/cricutdesignspace.nuspec @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + cricutdesignspace + + + + 5.6.19 + + + + + + + + CricutDesignSpace (Install) + Cricut + + https://design.cricut.com/ + https://is5-ssl.mzstatic.com/image/thumb/Purple114/v4/2d/e1/51/2de1511b-f8ad-320c-77d9-e809e1d65928/AppIcon-0-0-1x_U007emarketing-0-0-0-9-0-0-sRGB-0-0-0-GLES2_U002c0-512MB-85-220-0-0.png/246x0w.png + + + + + https://help.cricut.com/hc/en-us/articles/360009428814-Downloading-and-Installing-Design-Space#windowsinstall + + + cricut design space + Design and wirelessly cut using Cricut Explore and Cricut Maker machines. + Cricut Design Space is a companion app that lets you design and wirelessly cut with Cricut Explore and Cricut Maker machines. Create a project from scratch or browse thousands of images, predesigned Make It Now projects, and fonts in the Cricut Image Library. + + + + + + + + + + + + + + + + + diff --git a/tools/chocolateyinstall.ps1 b/tools/chocolateyinstall.ps1 new file mode 100644 index 0000000..7d0480d --- /dev/null +++ b/tools/chocolateyinstall.ps1 @@ -0,0 +1,40 @@ + +$ErrorActionPreference = 'Stop'; +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$url = 'https://staticcontent.cricut.com/a/software/win32-native/Cricut%20Design%20Space%20Install%20v5.6.19.exe' + +$packageArgs = @{ + packageName = $env:ChocolateyPackageName + unzipLocation = $toolsDir + fileType = 'EXE' + url = $url + + softwareName = 'cricutdesignspace*' + + checksum = 'E9096A6E69A46AE816075392B722436237811A48E570C5007C9822B7C31B2753' + checksumType = 'sha256' + + silentArgs = '/S' + validExitCodes= @(0) +} + +Install-ChocolateyPackage @packageArgs + + + + + + + + + + + + + + + + + + +