Compare commits

...

38 Commits
fah ... main

Author SHA1 Message Date
da4340e76c Add vcarve-pro-trial-12.0
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 1m8s
2024-07-15 19:01:59 -04:00
d43af27e08 Update vcarve-pro-makerspace-12.0 to 0.9
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 3m27s
2024-07-15 18:36:09 -04:00
790d47a66b Fix nuspec name and update script version for VCarve Pro 12.0 2024-07-15 18:35:17 -04:00
3a7dcee588 Add vcarve pro makerspace edition v12
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 1m58s
2024-04-28 11:14:29 -04:00
b8032326db Bump chitubox to 1.9.5
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 52s
2023-06-29 14:06:23 -04:00
331c3d7878 Add temporary workaround for broken LFS checkout
All checks were successful
/ Build-Chocolatey-Packages (push) Successful in 1m38s
2023-05-03 10:17:16 -04:00
da4df9fe05 Add new CH340 driver package
Some checks failed
/ Build-Chocolatey-Packages (push) Failing after 2m46s
2023-05-03 09:42:33 -04:00
232816a883 Set up git LFS 2023-05-02 23:33:06 -04:00
cfc63db4c5 ci: Add automatic build action
All checks were successful
Build-Chocolatey-Packages
2023-03-25 18:55:09 -04:00
d7e9cae7f8 Add update script for chitubox 2022-10-28 00:37:23 -04:00
5e8974e736 Bump chitubox to V1.9.4 2022-09-28 14:41:59 -04:00
d49e834a78 Remove VCarve Pro 10.5 versions 2022-08-11 15:26:53 -04:00
8be771877f Update Vcarve Pro trial/makerspace 11.0 to 1.6 2022-08-10 13:52:39 -04:00
98f41c556b VCarve Pro 11.0: Don't include installers, they are too big 2022-07-31 16:49:09 -04:00
68f8f00dc2 vcarve-pro-makerspace-11.0: Internalize, bump to 1.5, add update script 2022-07-20 15:08:00 -04:00
8218bce9ff vcarve-pro-trial-11.0: Make update script a bit more generic 2022-07-20 15:07:37 -04:00
d2bfb17ab1 vcarve-pro-trial-11.0: Internalize, bump to 1.5, add update script 2022-07-20 14:55:08 -04:00
4f810bf331 Use official chocolatey docker image for pack script 2022-07-18 15:52:59 -04:00
fe93d55f5b Update chitubox to 1.9.3 2022-07-16 15:45:09 -04:00
1e6e7ad7b4 Update ChiTuBox to 1.9.2 2022-04-07 16:29:15 -04:00
f7a2427cc8 Bump Vcarve Pro Makerspace and Trial Editions 11.0 to version 0.8 2021-09-30 15:31:43 -04:00
a1698d0d51 Bump VCarve Pro Makerspace Edition 11 version to 0.7 2021-09-13 18:25:18 -04:00
13c4f3fc01 Add VCarve Pro Trial version 11.0 2021-08-04 21:18:22 -04:00
2fd3559861 Add VCarve Pro Makerspace Edition version 11.0 2021-08-04 19:07:30 -04:00
316472c2e9 Add a shell script to build packages on linux via docker 2021-08-04 16:03:06 -04:00
f712d20df9 Update chitubox to version 1.9.0 2021-08-04 02:47:39 -04:00
76bf66c1ad Bump VCarve Pro Makerspace Edition 10.5 to version 1.4 2021-04-23 00:14:02 -04:00
59d19e5c4c Bump Chitubox to version 1.8.1 2021-03-06 00:59:01 -05:00
643586b7ec Bump VCarve Pro Trial 10.5 to version 0.8 2020-12-15 20:48:29 -05:00
bf7f9c79a5 Bump VCarve Pro Makerspace Edition 10.5 to version 1.2 2020-12-15 20:41:16 -05:00
60cad760fa Bump Chitubox to 1.7.0 2020-10-29 17:33:55 -04:00
a9dcfa48bb Use array format for powershell script arguments
also normalize/cleanup style
2020-10-29 17:00:15 -04:00
7b3ae85e50 Remove fah and meshmixer packages that now exist in the community repo 2020-10-29 17:00:15 -04:00
1964b11c46 Add uninstall scripts for VCarve packages 2020-10-29 16:59:57 -04:00
bd33612803 Rename VCarve packages to include major version
these can be installed in parallel, and are therefore essentially separate programs
2020-10-29 16:57:35 -04:00
ed50eba864 Add <files> section to VCarve Pro nuspecs
They don't build properly on linux without them
2020-09-13 18:55:14 -04:00
88d712a838 Update VCarve Pro Trial and Makerspace edition versions 2020-09-13 18:28:57 -04:00
aa396eec6d Add fah package 2020-03-25 16:05:27 -04:00
32 changed files with 377 additions and 137 deletions

2
.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
*.exe filter=lfs diff=lfs merge=lfs -text
*.EXE filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,53 @@
on:
push:
branches:
- main
env:
NUGET_URL: https://git.claremontmakerspace.org/api/packages/${{ github.repository_owner }}/nuget/index.json
jobs:
Build-Chocolatey-Packages:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Workaround for broken LFS checkout, see https://gitea.com/gitea/act_runner/issues/164
- name: Checkout LFS
run: |
UrlBase=$GITHUB_SERVER_URL
UrlLfsBase=$UrlBase/${{ gitea.repository }}.git/info/lfs/objects
git config --local http.${UrlLfsBase}/batch.extraheader "$(git config --get --local http.$UrlBase/.extraheader)"
git config --local http.${UrlLfsBase}/.extraheader ''
git config --local lfs.transfer.maxretries 1
git lfs fetch origin refs/remotes/origin/${{ gitea.ref_name }}
git lfs checkout
- name: Setup dotnet
uses: https://github.com/actions/setup-dotnet@v3
with:
dotnet-version: 7
- name: Chocolatey Pack
uses: docker://chocolatey/choco:latest
with:
args: |
sh -c 'for package in */
do
(
cd "$package"
echo "Packing $package"
choco pack --no-color
)
done'
- name: Nuget Push
run: |
for package in */*.nupkg
do
echo "Pushing $package"
dotnet nuget push --source $NUGET_URL --api-key "${{ secrets.REGISTRY_TOKEN }}" "$package" --skip-duplicate
done
env:
DOTNET_CLI_TELEMETRY_OPTOUT: "true"

4
.gitignore vendored
View File

@ -1,2 +1,6 @@
# Built packages # Built packages
*.nupkg *.nupkg
# Installers
/*/tools/*.exe
/*/tools/*.msi

View File

@ -1,60 +0,0 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>autodesk-meshmixer</id>
<version>3.5</version>
<title>Autodesk Meshmixer</title>
<authors>Autodesk, Inc.</authors>
<owners>Vaquero</owners>
<licenseUrl>http://download.autodesk.com/us/FY16/Suites/LSA/en-US/lsa.html</licenseUrl>
<projectUrl>http://www.123dapp.com/meshmixer</projectUrl>
<iconUrl>https://cdn.rawgit.com/TomOne/various/05103fe90f844ffe2349b108382c886d715d8ab7/meshmixer.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>##Mesh and Mix
Design your own creations by combining two or more models with a few simple steps. Its as easy as “cut-and-paste”.
##Pattern
Create beautiful overlay textures using a variety of simple grid and pattern options.
##Sculpt
Mold and refine surfaces real-time like virtual clay.
#3D printing with Meshmixer
Printing your 3D model has never been easier with the latest release of Meshmixer.
##Seamless digital-to-physical experience
Starting from any 123D software, 3D model in the Gallery, or any major 3D model file Format*, you can preview, refine and prepare your models to print with confidence.
*.stl, .obj, .amf, .ply, .wrl
##Supports any desktop 3D printer
Print directly from Meshmixer to your [Makerbot](http://www.makerbot.com/)
** or [Type A Machines](http://www.typeamachines.com/). Meshmixer is also compatible with Stratasys, and has the option to configure your own desktop printer.
** Windows 8.1 only
##Hassle-free 3D printing services
You dont need to own a 3D printer to create amazing 3D-printed objects. Leave the 3D printing to our trusted partners: [i.materialise](http://i.materialise.com/), [Sculpteo](http://www.sculpteo.com/) and [Shapeways](http://www.shapeways.com/). Pick from dozens of different materials, colors and finishes, and preview your shopping cart right in Meshmixer.
Tune in to [Meshmixer 101](https://tinyurl.com/nkfm84a), a series of YouTube instructional videos, to learn the basics.
Autodesk Meshmixer is licenced under the 2016 Platform and Design Suites License and Services Agreement (including Autodesk Android Mobile Apps) (Platform and Design Suites LSA).
Meshmixer will install to its default installation folder (e.g. C:\Program Files\Autodesk\Meshmixer).
#### Package Parameters
The following package parameter can be set:
* `-ia /D=` - this is for the installation path. (e.g. with cmd: `choco install autodesk-meshmixer -ia /D="E:\Some Directory\somebody\Meshmixer"`)
**Please Note**: This is an automatically updated package. If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.</description>
<summary>Meshmixer is the ultimate tool for 3D mashups and remixes. Mash, mix, sculpt, stamp or paint your own 3D designs, or start from over 10,000 models in the Gallery. Now includes direct 3D print support.</summary>
<releaseNotes />
<copyright>© Autodesk, Inc. All Rights Reserved.</copyright>
<tags>123D meshmixer autodesk modeling 3d surface solid print admin</tags>
<packageSourceUrl>https://github.com/Vaquero84/chocolatey-packages/tree/master/automatic/autodesk-meshmixer</packageSourceUrl>
</metadata>
</package>

View File

@ -1,14 +0,0 @@
$packageName = 'autodesk-meshmixer'
$installerType = 'exe'
$silentArgs = '/S'
$url64 = '\\ucs\software\Autodesk_Meshmixer_v3p5_Win64.exe'
$checksum64 = '5d08cb6254e4d4280137d6d37ec689fc3f0c61dad08bbc978a451ac16b7f271c'
$checksumType64 = 'sha256'
$validExitCodes = @(0,1223)
Install-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs $silentArgs `
-Url64bit $url64 `
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64

BIN
ch340_driver/CH341SER.EXE (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>ch340_driver</id>
<version>3.8</version>
<packageSourceUrl>https://git.claremontmakerspace.org/CMS/chocolatey-packages</packageSourceUrl>
<owners>Adam</owners>
<title>CH340 Driver (Install)</title>
<authors>WCH</authors>
<projectUrl>http://www.wch-ic.com/downloads/CH341SER_EXE.html</projectUrl>
<docsUrl>http://www.wch-ic.com/downloads/CH340DS1_PDF.html</docsUrl>
<tags>ch340 ch341 serial driver</tags>
<summary>Driver for the CH340/CH341 USB Serial IC</summary>
<description>CH340/CH341 USB to serial port One-Key installation VCP vendor driver for Windows, supports Windows 11/10/8.1/8/7/VISTA/XP/2000/98Server 2022/2019/2016/2012/2008/2003 -32/64bit, Microsoft WHQL/HCK Certified, supports USB to 3-line and 9-line serial port.</description>
</metadata>
</package>

BIN
ch340_driver/tools/CH341SER.EXE (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,15 @@
$ErrorActionPreference = 'Stop' # stop on all errors
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$fileLocation = Join-Path $toolsDir 'CH341SER.EXE'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
FileType = 'exe'
File = $fileLocation
SilentArgs = '/S'
Checksum = '74d12019023390d27739625773005ecccf1bc6c4547e0c46088e86665e519524'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
Install-ChocolateyInstallPackage @packageArgs

View File

@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>chitubox</id> <id>chitubox</id>
<version>1.6.1</version> <version>1.9.5</version>
<title>CHITUBOX</title> <title>CHITUBOX</title>
<authors>CBD-Tech</authors> <authors>CBD-Tech</authors>
<owners>Adam</owners> <owners>Adam</owners>
@ -11,7 +11,7 @@
<description>A slicer for DLP 3D printing.</description> <description>A slicer for DLP 3D printing.</description>
<summary>A slicer for DLP 3D printing.</summary> <summary>A slicer for DLP 3D printing.</summary>
<releaseNotes /> <releaseNotes />
<copyright>© 2019 CHITUBOX. All rights reserved.</copyright> <copyright>© 2022 CHITUBOX. All rights reserved.</copyright>
<tags>3d solid print</tags> <tags>3d solid print</tags>
<dependencies> <dependencies>
<dependency id="vcredist140" /> <dependency id="vcredist140" />

View File

@ -1,14 +1,11 @@
$packageName = 'chitubox' $packageArgs = @{
$installerType = 'exe' packageName = $env:ChocolateyPackageName
$silentArgs = '/S' FileType = 'exe'
$url64 = '\\ucs\software\CHITUBOX64Install_1.6.1.exe' SilentArgs = '/S'
$checksum64 = 'd399dcc7f44f3a34a878a93e1ca6f9c4fefe845a46a743c49e1353efda5cc16b' Url64 = '\\ucs\software\CHITUBOX64Install_V1.9.4.exe'
$checksumType64 = 'sha256' Checksum64 = 'ee53fcb1f2f115fa0a8b413f9a4d1110f26a4416e449ac106352a9acac73a778'
$validExitCodes = @(0,1223) ChecksumType64 = 'sha256'
Install-ChocolateyPackage -PackageName $packageName ` ValidExitCodes = @(0, 1223)
-FileType $installerType ` }
-SilentArgs $silentArgs `
-Url64bit $url64 ` Install-ChocolateyPackage @packageArgs
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64

23
chitubox/update.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
file="$1"
if [ -z "$1" ]
then
echo "Usage: $0 FILE"
exit 1
elif [ ! -f "$1" ]
then
echo "File '$1' not found"
exit 1
fi
version=$(grep -oP '\d\.\d\.\d' <<< "$file")
checksum=$(sha256sum $file | awk '{print $1}')
echo "New version for ${PWD##*/}: version=$version, checksum=$checksum"
sed -i "s|<version>[^<]*</version>|<version>$version</version>|" "${PWD##*/}.nuspec"
sed -i "/File64/s|[^\\]*$|${file##*/}'|" tools/chocolateyInstall.ps1
sed -i "/Checksum64/s|=.*|= '$checksum'|" tools/chocolateyInstall.ps1

7
pack.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
set -e
dir="$(realpath $1)"
docker run --rm -v "$dir":/build -w /build chocolatey/choco choco pack

View File

@ -0,0 +1,11 @@
$packageArgs = @{
packageName = $env:ChocolateyPackageName
FileType = 'exe'
SilentArgs = '/S'
File64 = '\\ucs\software\VCarveProMakerspaceEditionV11016_Setup.exe'
Checksum64 = '5397227121f62c7f338e68d27f18a3c11d3c5aa54440922c73dbdf6fd9ddc4f5'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
Install-ChocolateyInstallPackage @packageArgs

View File

@ -0,0 +1,8 @@
$packageArgs = @{
PackageName = 'vcarve-pro-makerspace-11.0'
FileType = 'exe'
File = 'C:\Program Files\VCarve Pro - Makerspace Edition 11.0\uninst.exe'
SilentArgs = '/S'
}
Uninstall-ChocolateyPackage @packageArgs

View File

@ -0,0 +1,21 @@
#!/bin/bash
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
file=$(ls tools/VCarveProMakerspaceEditionV110*_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

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>vcarve-pro-makerspace</id> <id>vcarve-pro-makerspace-11.0</id>
<version>10.0.1.9</version> <version>1.6</version>
<title>VCarve Pro Makerspace Edition</title> <title>VCarve Pro Makerspace Edition</title>
<authors>Vectric Ltd</authors> <authors>Vectric Ltd</authors>
<owners>Adam</owners> <owners>Adam</owners>
@ -11,10 +11,13 @@
<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> <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> <summary>CAM software for a CNC router.</summary>
<releaseNotes /> <releaseNotes />
<copyright>© 2005-2019 Vectric Limited.</copyright> <copyright>© 2005-2021 Vectric Limited.</copyright>
<tags>router cnc shopbot</tags> <tags>router cnc shopbot</tags>
<dependencies> <dependencies>
<dependency id="vcredist2010" /> <dependency id="vcredist2010" />
</dependencies> </dependencies>
</metadata> </metadata>
<files>
<file src="tools/*.ps1" target="tools" />
</files>
</package> </package>

View File

@ -0,0 +1,11 @@
$packageArgs = @{
packageName = $env:ChocolateyPackageName
FileType = 'exe'
SilentArgs = '/S'
File64 = '\\ucs\software\VCarveProMakerspaceEditionV12009_Setup.exe'
Checksum64 = '7e87216cf9bfa025eeaaee35f78b8ddaf5444e71098f7780eb8787df871864a3'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
Install-ChocolateyInstallPackage @packageArgs

View 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

View 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" != "12.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

View 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.9</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>

View File

@ -1,14 +0,0 @@
$packageName = 'vcarve-pro-makerspace'
$installerType = 'exe'
$silentArgs = '/S'
$url64 = '\\ucs\software\VCarveProMakerspaceEditionV10019_Setup.exe'
$checksum64 = '57a3dc5731ab5359c09fc4dbc9da9904c50e688d669ea5e609753ea2f0732c50'
$checksumType64 = 'sha256'
$validExitCodes = @(0,1223)
Install-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs $silentArgs `
-Url64bit $url64 `
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64

View File

@ -0,0 +1,11 @@
$packageArgs = @{
packageName = $env:ChocolateyPackageName
FileType = 'exe'
SilentArgs = '/S'
File64 = '\\ucs\software\VCarveProTrialEditionV11016_Setup.exe'
Checksum64 = '86d2f570d4238b1c930021aae52e4f6d63e9d24cad8ade1044369595411cbfa8'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
Install-ChocolateyInstallPackage @packageArgs

View File

@ -0,0 +1,8 @@
$packageArgs = @{
PackageName = 'vcarve-pro-trial-11.0'
FileType = 'exe'
File = 'C:\Program Files\VCarve Pro Trial Edition 11.0\uninst.exe'
SilentArgs = '/S'
}
Uninstall-ChocolateyPackage @packageArgs

24
vcarve-pro-trial-11.0/update.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
wget -N "https://storage.googleapis.com/vectric_public/VCarveProTrialEdition_Setup.exe" --directory-prefix tools/
file=tools/VCarveProTrialEdition_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}')
versioned_file_name="VCarveProTrialEditionV${major_version/.}${minor_version/.}_Setup.exe"
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, filename=$versioned_file_name"
sed -i "s|<version>[^<]*</version>|<version>$minor_version</version>|" "${PWD##*/}.nuspec"
sed -i "/File64/s|[^\\]*$|${versioned_file_name}'|" tools/chocolateyInstall.ps1
sed -i "/Checksum64/s|=.*|= '$checksum'|" tools/chocolateyInstall.ps1

View File

@ -1,8 +1,8 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>vcarve-pro-trial</id> <id>vcarve-pro-trial-11.0</id>
<version>10.0.1.9</version> <version>1.6</version>
<title>VCarve Pro Trial</title> <title>VCarve Pro Trial</title>
<authors>Vectric Ltd</authors> <authors>Vectric Ltd</authors>
<owners>Adam</owners> <owners>Adam</owners>
@ -11,10 +11,13 @@
<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> <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> <summary>CAM software for a CNC router.</summary>
<releaseNotes /> <releaseNotes />
<copyright>© 2005-2019 Vectric Limited.</copyright> <copyright>© 2005-2021 Vectric Limited.</copyright>
<tags>router cnc shopbot</tags> <tags>router cnc shopbot</tags>
<dependencies> <dependencies>
<dependency id="vcredist2010" /> <dependency id="vcredist2010" />
</dependencies> </dependencies>
</metadata> </metadata>
<files>
<file src="tools/*.ps1" target="tools" />
</files>
</package> </package>

View File

@ -0,0 +1,11 @@
$packageArgs = @{
packageName = $env:ChocolateyPackageName
FileType = 'exe'
SilentArgs = '/S'
File64 = '\\ucs\software\VCarveProTrialEditionV12007_Setup.exe'
Checksum64 = '2cb9f3d08699c425daa41d7441fc01272179885b16b4634d71195011a9d6bc0c'
ChecksumType64 = 'sha256'
ValidExitCodes = @(0, 1223)
}
Install-ChocolateyInstallPackage @packageArgs

View File

@ -0,0 +1,8 @@
$packageArgs = @{
PackageName = 'vcarve-pro-trial-12.0'
FileType = 'exe'
File = 'C:\Program Files\VCarve Pro Trial Edition 12.0\uninst.exe'
SilentArgs = '/S'
}
Uninstall-ChocolateyPackage @packageArgs

24
vcarve-pro-trial-12.0/update.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
wget -N "https://storage.googleapis.com/vectric_public/VCarveProTrialEdition_Setup.exe" --directory-prefix tools/
file=tools/VCarveProTrialEdition_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}')
versioned_file_name="VCarveProTrialEditionV${major_version/.}${minor_version/.}_Setup.exe"
if [ "$major_version" != "12.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, filename=$versioned_file_name"
sed -i "s|<version>[^<]*</version>|<version>$minor_version</version>|" "${PWD##*/}.nuspec"
sed -i "/File64/s|[^\\]*$|${versioned_file_name}'|" tools/chocolateyInstall.ps1
sed -i "/Checksum64/s|=.*|= '$checksum'|" tools/chocolateyInstall.ps1

View File

@ -0,0 +1,23 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>vcarve-pro-trial-12.0</id>
<version>0.7</version>
<title>VCarve Pro Trial</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>

View File

@ -1,14 +0,0 @@
$packageName = 'vcarve-pro-trial'
$installerType = 'exe'
$silentArgs = '/S'
$url64 = '\\ucs\software\VCarveProTrialEditionV10019_Setup.exe'
$checksum64 = '8808a23df0915ee48435b8eda6bbcdef2db4bf42b1626ed630d65b32c796dc5e'
$checksumType64 = 'sha256'
$validExitCodes = @(0,1223)
Install-ChocolateyPackage -PackageName $packageName `
-FileType $installerType `
-SilentArgs $silentArgs `
-Url64bit $url64 `
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64