Compare commits

..

4 Commits
main ... fah

Author SHA1 Message Date
8ebf573c45 Bump fah version 2020-03-25 15:40:23 -04:00
d2b9028aa2 Remove fah ahk dependency 2020-03-25 15:40:01 -04:00
bd5163b52c Convert fah files to unix line endings 2020-03-25 15:39:42 -04:00
2bf7b23160 Add fah package 2020-03-25 15:32:21 -04:00
34 changed files with 187 additions and 377 deletions

2
.gitattributes vendored
View File

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

View File

@ -1,53 +0,0 @@
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,6 +1,2 @@
# Built packages # Built packages
*.nupkg *.nupkg
# Installers
/*/tools/*.exe
/*/tools/*.msi

View File

@ -0,0 +1,60 @@
<?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

@ -0,0 +1,14 @@
$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)

Binary file not shown.

View File

@ -1,17 +0,0 @@
<?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)

Binary file not shown.

View File

@ -1,15 +0,0 @@
$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.9.5</version> <version>1.6.1</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>© 2022 CHITUBOX. All rights reserved.</copyright> <copyright>© 2019 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,11 +1,14 @@
$packageArgs = @{ $packageName = 'chitubox'
packageName = $env:ChocolateyPackageName $installerType = 'exe'
FileType = 'exe' $silentArgs = '/S'
SilentArgs = '/S' $url64 = '\\ucs\software\CHITUBOX64Install_1.6.1.exe'
Url64 = '\\ucs\software\CHITUBOX64Install_V1.9.4.exe' $checksum64 = 'd399dcc7f44f3a34a878a93e1ca6f9c4fefe845a46a743c49e1353efda5cc16b'
Checksum64 = 'ee53fcb1f2f115fa0a8b413f9a4d1110f26a4416e449ac106352a9acac73a778' $checksumType64 = 'sha256'
ChecksumType64 = 'sha256' $validExitCodes = @(0,1223)
ValidExitCodes = @(0, 1223) Install-ChocolateyPackage -PackageName $packageName `
} -FileType $installerType `
-SilentArgs $silentArgs `
Install-ChocolateyPackage @packageArgs -Url64bit $url64 `
-ValidExitCodes $validExitCodes `
-Checksum64 $checksum64 `
-ChecksumType64 $checksumType64

View File

@ -1,23 +0,0 @@
#!/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

40
fah/fah.nuspec Normal file
View File

@ -0,0 +1,40 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>fah</id>
<version>7.5.1</version>
<title>Folding@home</title>
<authors>Pande Lab</authors>
<owners>dtgm</owners>
<licenseUrl>http://folding.stanford.edu/home/faq/faq-opensource#ntoc4</licenseUrl>
<projectUrl>http://folding.stanford.edu/</projectUrl>
<iconUrl>https://cdn.rawgit.com/dtgm/chocolatey-packages/e145d13e7f7bc677a6a22da74d0ff1441a554289/icons/fah.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Help Stanford University scientists studying Alzheimer's, Huntington's, Parkinson's, and many cancers by simply running a piece of software on your computer. The program does this by building simulations of how proteins, RNA, and nanoscale synthetic polymers fold.
This program does not slow your computer down and only uses unused computer power.
### Post-install notes
1. Execute `FAHClient.exe`
2. Enter a [name](http://folding.stanford.edu/home/fah-user-name/) and/or team #, and [Passkey](http://folding.stanford.edu/home/faq/faq-passkey/)
### Documentation
* [FAQs](http://folding.stanford.edu/home/community-support/#faqs)
* [Configuration guide](http://folding.stanford.edu/home/guide/configuration-guide/)
### Community
* [Forum](https://foldingforum.org/)
* [Teams and Stats](https://folding.stanford.edu/home/teams-stats/)</description>
<summary>Distributed computing project to understand protein folding</summary>
<releaseNotes>#### Program
* [News](http://folding.stanford.edu/home/blog)
#### Package
* Automatically built and uploaded by [dtgm](https://chocolatey.org/profiles/dtgm)</releaseNotes>
<copyright>© Pande Lab, Stanford University</copyright>
<language>en-us</language>
<tags>distributed-computing protein-folding biology science</tags>
<dependencies> </dependencies>
</metadata>
</package>

View File

@ -0,0 +1,10 @@
$packageArgs = @{
PackageName = 'fah'
FileType = 'exe'
SilentArgs = '/S'
Url = '\\ucs\software\fah-installer_7.5.1_x86.exe'
Checksum = 'e97aeccbf3692001dafe16612b1cae6a90cb6c22dbf57e947d9c13ff4e1b5715'
ChecksumType = 'sha256'
}
Install-ChocolateyPackage @packageArgs

View File

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

View File

@ -1,11 +0,0 @@
$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

@ -1,8 +0,0 @@
$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

@ -1,21 +0,0 @@
#!/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,11 +0,0 @@
$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

@ -1,8 +0,0 @@
$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

@ -1,21 +0,0 @@
#!/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

@ -1,23 +0,0 @@
<?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

@ -0,0 +1,14 @@
$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

@ -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-11.0</id> <id>vcarve-pro-makerspace</id>
<version>1.6</version> <version>10.0.1.9</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,13 +11,10 @@
<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-2021 Vectric Limited.</copyright> <copyright>© 2005-2019 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

@ -1,11 +0,0 @@
$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

@ -1,8 +0,0 @@
$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

View File

@ -1,24 +0,0 @@
#!/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,11 +0,0 @@
$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

@ -1,8 +0,0 @@
$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

View File

@ -1,24 +0,0 @@
#!/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

@ -1,23 +0,0 @@
<?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

@ -0,0 +1,14 @@
$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

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-11.0</id> <id>vcarve-pro-trial</id>
<version>1.6</version> <version>10.0.1.9</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,13 +11,10 @@
<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-2021 Vectric Limited.</copyright> <copyright>© 2005-2019 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>