🩹 [Patch]: Verify that vcruntime140 is installed on Windows#23
Merged
Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom Feb 8, 2025
Merged
🩹 [Patch]: Verify that vcruntime140 is installed on Windows#23Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
vcruntime140 is installed on Windows#23Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
Conversation
vcredist140 is installed on Windows
vcredist140 is installed on Windowsvcruntime140 is installed on Windows
|
Module Sodium - 2.1.1-supported001 published to the PowerShell Gallery. |
|
GitHub release for Sodium v2.1.1-supported001 has been created. |
|
Module Sodium - v2.1.1 published to the PowerShell Gallery. |
|
GitHub release for Sodium v2.1.1 has been created. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
vcruntime140is installed on Windows #13This pull request includes several changes to improve platform compatibility and ensure the necessary dependencies are installed. The most important changes include adding a new function to check for the Visual C++ Redistributable, updating scripts to verify platform support, and initializing the Sodium library conditionally.
Platform compatibility improvements:
src/functions/private/Assert-VisualCRedistributableInstalled.ps1: Added a new functionAssert-VisualCRedistributableInstalledto check if the Visual C++ Redistributable for Visual Studio 2015 or later is installed and meets the specified minimum version.src/main.ps1: Modified the main script to set the$script:Supportedvariable based on platform checks and the result ofAssert-VisualCRedistributableInstalledfor Windows.src/variables/private/Supported.ps1: Added a new variable$script:Supportedinitialized to$falseto track platform support status.Sodium library initialization:
src/functions/public/ConvertFrom-SodiumSealedBox.ps1,src/functions/public/ConvertTo-SodiumSealedBox.ps1,src/functions/public/New-SodiumKeyPair.ps1: Updated these scripts to throw an error if Sodium is not supported on the platform by checking the$script:Supportedvariable before initializing the Sodium library. [1] [2] [3]Type of change
Checklist