Closed brogers5 closed 9 months ago
Thanks.
I think there's an update to the program. If you update the URL, checksum, and package version I'll pull it in.
I've rebased against master
's current state, and updated both affected packages to the latest available version as requested. They were tested successfully against both 32-bit and 64-bit operating systems.
Some things I felt I should note:
Snappy Driver Installer
projectSourceUrl
and licenseUrl
(and by extension, requireLicenseAcceptance
).TeamSpeak Server
mailingListUrl
and bugTrackerUrl
accordingly.And some optional thoughts I had while going through these:
--shimgen-usetargetworkingdirectory
when running the application via the generated shim(s).chocolateyBeforeModify.ps1
script to ensure any running instances of SDI_*.exe
are closed before upgrading/uninstalling.chocolateyBeforeModify.ps1
script to ensure both ts3server.exe
and tsdnsserver.exe
are closed before upgrading/uninstalling.ts3server.exe
should be a GUI shim. Perhaps we should create a .gui
file to ensure a GUI shim is created with legacy Chocolatey versions.ts3server.exe
doesn't appear to be designed for global execution. Perhaps we should add a package note reminding users to use --shimgen-usetargetworkingdirectory
when running this via the generated shim.Coming back round to this...
RE: Snappy Driver Installer I remember there was some drama about this. A split between the devs and then two versions? I think one ver had a virus scare or was a virus? I also believe someone else created a Chocolatey package with the newer split version. I have no idea of the status of either now.
Assuming Snappy Driver is still around and kicking, I don't have an interest in maintaining it. I'd love to add you as a maintainer. Let me know your ChocolateyId if you accept.
RE: TeamSpeak Server I see the package is out of date. I don't use this and have no interest in it. I think it was late one night and I saw TeamSpeak Client was available on chocolatey.org and thought to myself that the server version should be too. I had more time back then... hahahaha
I'd love to pass maintainership of TeamSpeak Server to you as well. Let me know your ChocolateyId if you accept.
Unfortunately, I don't really use either of these, so I feel maintainership would be best assumed by someone else if you'd rather hand it off. Perhaps some RFMs are in order?
This changeset resolves a subtle install script failure that is only apparent on 32-bit systems. I experienced the exact same issue with a few of my packages, and did a recursive search on my machine for other places this may have happened. As I've previously cloned your repository, a couple of your packages came up.
The gist of it is that
Get-OSArchitectureWidth -eq 64
will effectively ignore the-eq 64
portion, sinceGet-OSArchitectureWidth
is a function and does not recognize-eq
as a valid parameter. PowerShell will return the numerical address width value (i.e. 32 or 64) instead of performing the intendedbool
comparison. As this will always return a non-zero value, it will trigger the behavior intended for 64-bit systems on 32-bit systems.This can be fixed by either wrapping
Get-OSArchitectureWidth -eq 64
in parentheses to enable a correct interpretation of the condition, or change-eq
to the supported-Compare
parameter to return abool
value instead. I opted for the-Compare
approach, as this isn't dependent on what could otherwise come across as redundant parentheses.I've bumped the version of both affected packages using package fix notation.