Remove the 32 bit download at GitKraken no longer provides a 32 bit version.
Update the ChocolateyInstall script to detect if GitKraken is already updated, and if it is, do not install the update.
Note about the change: The version detection in the package does not take into account any date fix versioning, so it will see 10.3.0 installed as being outdated if for instance the package is pushed with a date fix version of 10.3.0.20240905. This would be the same as the existing behaviour, so it seems reasonable to me.
Motivation and Context
The GitKraken installer forcibly closes any open GitKraken windows, even if it doesn't need to update anything.
How Has this Been Tested?
Set the GitKraken version in the nuspec to 10.2.1
Ran ./update.ps1 in the GitKraken directory to ensure it updated the GitKraken package.
Ran choco upgrade gitkraken -s . to verify that my local GitKraken did not update the already up to date GitKraken.
Screenshot (if appropriate, usually isn't needed):
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)
Checklist:
[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
Description
Update the GitKraken package to:
Note about the change: The version detection in the package does not take into account any date fix versioning, so it will see 10.3.0 installed as being outdated if for instance the package is pushed with a date fix version of 10.3.0.20240905. This would be the same as the existing behaviour, so it seems reasonable to me.
Motivation and Context
The GitKraken installer forcibly closes any open GitKraken windows, even if it doesn't need to update anything.
How Has this Been Tested?
10.2.1
./update.ps1
in the GitKraken directory to ensure it updated the GitKraken package.choco upgrade gitkraken -s .
to verify that my local GitKraken did not update the already up to date GitKraken.Screenshot (if appropriate, usually isn't needed):
Types of changes
Checklist:
[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[x] All files are up to date with the latest Contributing Guidelines
[x] The added/modified package passed install/uninstall in the chocolatey test environment.
[x] The changes only affect a single package (not including meta package).
Fixes #202