Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the new install option for 64-bit Zotero and simplifies the update a bit.
Description
Modified the update.ps1 to grab both 32-bit and 64-bit installer URLs, download the EXEs and replace the information in the
VERIFICATION.txt
file. Modifiedchocolateyinstall.ps1
to install either 32-bit or 64-bit flavor of Zotero. Also simplified theVERIFICATION.txt
file andchocolateyinstall.ps1
andchocolateyuninstall.ps1
files to require fewer (or no) edits viaupdate.ps1
. Re-arranged metadata in the.nuspec
to match the order of a new package. Updated theLICENSE.txt
file to match changes at the project.Motivation and Context
32-bit Zotero works fine on 64-bit systems, but regularly pops up a dialog indicating that it's not the most efficient version for the environment. The upgrade from 32-bit to 64-bit is as simple as a re-install, so fixing this package to have both bit-levels was fairly straightforward.
How Has this Been Tested?
Installed the current, 32-bit-only, v7.0.5 package then upgraded to proposed v7.0.5.20240930 package with no trouble. Also installed the proposed package without upgrading. Uninstalls worked too.
This was on Win11 system with Chocolatey v2.3.0. There is no reason to suspect the official test environment would have any issues because the script functions are exactly the same, just with the addition of the 64-bit installer. I don't have ready access to the official test environment, so someone else will have to test that if it is absolutely necessary.
Types of changes
Checklist: