Add 'cricut-design-space/' from commit '810efcfc918b23724fac53e56554ea867704e0d9'

git-subtree-dir: cricut-design-space
git-subtree-mainline: 91c8a4d61b
git-subtree-split: 810efcfc91
This commit is contained in:
Adam Goldsmith 2024-12-12 16:01:00 -05:00
commit e637e78436
3 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# 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:
$ choco pack
## 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/InstallChocolatey.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

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cricutdesignspace</id>
<version>6.6.121</version>
<owners>stevenpickles</owners>
<title>CricutDesignSpace (Install)</title>
<authors>Cricut</authors>
<projectUrl>https://design.cricut.com/</projectUrl>
<iconUrl>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</iconUrl>
<copyright>2021 Cricut, Inc.</copyright>
<licenseUrl>https://us.cricut.com/legal</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!-- Since Cricut Design Space is closed source there is no projectSourceUrl to link -->
<!-- <projectSourceUrl></projectSourceUrl>-->
<docsUrl>https://help.cricut.com/hc/en-us/articles/360009428814-Downloading-and-Installing-Design-Space#windowsinstall</docsUrl>
<bugTrackerUrl>https://help.cricut.com/hc/en-us/articles/360020316674-Cricut-Contact-Information</bugTrackerUrl>
<tags>cricut design space</tags>
<summary>Design and wirelessly cut using Cricut Explore and Cricut Maker machines.</summary>
<description>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.</description>
<releaseNotes>No release notes are available from the manufacturer.</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>

View File

@ -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%20v6.6.121.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
fileType = 'EXE'
url = $url
softwareName = 'cricutdesignspace*'
checksum = 'E19EF45C5836A2742CEA1A81DF4B97D00CA3594CB0AC92FD413BD108BFA9F963'
checksumType = 'sha256'
silentArgs = '/S'
validExitCodes= @(0)
}
Install-ChocolateyPackage @packageArgs