Add vcarve pro makerspace edition v12
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 1m58s
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 1m58s
This commit is contained in:
parent
b8032326db
commit
3a7dcee588
11
vcarve-pro-makerspace-12.0/tools/chocolateyInstall.ps1
Normal file
11
vcarve-pro-makerspace-12.0/tools/chocolateyInstall.ps1
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
$packageArgs = @{
|
||||||
|
packageName = $env:ChocolateyPackageName
|
||||||
|
FileType = 'exe'
|
||||||
|
SilentArgs = '/S'
|
||||||
|
File64 = '\\ucs\software\VCarveProMakerspaceEditionV12004_Setup.exe'
|
||||||
|
Checksum64 = 'f590a7a77cb592ef2c0d47a1162179e066c288c3e93e5be81a0a4f5c0ef7f25f'
|
||||||
|
ChecksumType64 = 'sha256'
|
||||||
|
ValidExitCodes = @(0, 1223)
|
||||||
|
}
|
||||||
|
|
||||||
|
Install-ChocolateyInstallPackage @packageArgs
|
8
vcarve-pro-makerspace-12.0/tools/chocolateyUninstall.ps1
Normal file
8
vcarve-pro-makerspace-12.0/tools/chocolateyUninstall.ps1
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
$packageArgs = @{
|
||||||
|
PackageName = 'vcarve-pro-makerspace-12.0'
|
||||||
|
FileType = 'exe'
|
||||||
|
File = 'C:\Program Files\VCarve Pro - Makerspace Edition 12.0\uninst.exe'
|
||||||
|
SilentArgs = '/S'
|
||||||
|
}
|
||||||
|
|
||||||
|
Uninstall-ChocolateyPackage @packageArgs
|
21
vcarve-pro-makerspace-12.0/update.sh
Executable file
21
vcarve-pro-makerspace-12.0/update.sh
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
||||||
|
|
||||||
|
file=$(ls tools/VCarveProMakerspaceEditionV120*_Setup.exe)
|
||||||
|
version=$(7z e -so $file ProductInfo.ini | awk -F= '$1=="product_version" { print $2 }')
|
||||||
|
major_version=$(awk -F. -v RS='\r\n' '{print $1"."$2}' <<< $version)
|
||||||
|
minor_version=$(awk -F. -v RS='\r\n' '{print $3"."$4}' <<< $version)
|
||||||
|
checksum=$(sha256sum $file | awk '{print $1}')
|
||||||
|
|
||||||
|
if [ "$major_version" != "11.0" ]
|
||||||
|
then
|
||||||
|
echo "Major version update! This probably won't really work well."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Current version for ${PWD##*/}: major=$major_version, minor=$minor_version, checksum=$checksum"
|
||||||
|
|
||||||
|
sed -i "s|<version>[^<]*</version>|<version>$minor_version</version>|" "${PWD##*/}.nuspec"
|
||||||
|
sed -i "/File64/s|[^\\]*$|${file##*/}'|" tools/chocolateyInstall.ps1
|
||||||
|
sed -i "/Checksum64/s|=.*|= '$checksum'|" tools/chocolateyInstall.ps1
|
23
vcarve-pro-makerspace-12.0/vcarve-pro-makerspace-11.0.nuspec
Normal file
23
vcarve-pro-makerspace-12.0/vcarve-pro-makerspace-11.0.nuspec
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>vcarve-pro-makerspace-12.0</id>
|
||||||
|
<version>0.4</version>
|
||||||
|
<title>VCarve Pro Makerspace Edition</title>
|
||||||
|
<authors>Vectric Ltd</authors>
|
||||||
|
<owners>Adam</owners>
|
||||||
|
<projectUrl>https://www.vectric.com/products/vcarve-pro</projectUrl>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<description>VCarve Pro provides a powerful but intuitive software solution for creating and cutting parts on a CNC Router. VCarve Pro gives you the power to produce complex 2D patterns with profile, pocket, drill and inlay toolpaths, plus gives you the ability to create designs with v-carving textures as well as import and machine unlimited Vectric 3D clipart or single model files. The 'Pro' edition gives you unlimited job and toolpath size, true shape nesting and job set-up sheets, ideally suited to a production environment.</description>
|
||||||
|
<summary>CAM software for a CNC router.</summary>
|
||||||
|
<releaseNotes />
|
||||||
|
<copyright>© 2005-2021 Vectric Limited.</copyright>
|
||||||
|
<tags>router cnc shopbot</tags>
|
||||||
|
<dependencies>
|
||||||
|
<dependency id="vcredist2010" />
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
<files>
|
||||||
|
<file src="tools/*.ps1" target="tools" />
|
||||||
|
</files>
|
||||||
|
</package>
|
Loading…
Reference in New Issue
Block a user