mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2024-11-24 23:01:01 +02:00
Compare commits
2 Commits
01b216dbc4
...
a5ce3abe13
Author | SHA1 | Date | |
---|---|---|---|
|
a5ce3abe13 | ||
|
27344f6d4b |
58
.github/workflows/windows.yml
vendored
58
.github/workflows/windows.yml
vendored
@ -55,8 +55,33 @@ jobs:
|
|||||||
- name: Download And Install 32-bit OpenSSL
|
- name: Download And Install 32-bit OpenSSL
|
||||||
run: |
|
run: |
|
||||||
$installDir = "$Env:ProgramFiles\OpenSSL"
|
$installDir = "$Env:ProgramFiles\OpenSSL"
|
||||||
$installerURL = "https://slproweb.com/download/Win32OpenSSL-3_1_6.exe"
|
# Define the URL for the JSON file containing the hashes
|
||||||
$installerName = "Win32OpenSSL-3_1_5.exe"
|
$jsonUrl = "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json"
|
||||||
|
|
||||||
|
# Download the JSON data
|
||||||
|
$jsonData = Invoke-RestMethod -Uri $jsonUrl
|
||||||
|
|
||||||
|
# Initialize variables for the latest version and URL
|
||||||
|
$latestVersion = "0.0.0"
|
||||||
|
$latestUrl = ""
|
||||||
|
|
||||||
|
# Iterate through the files to find the latest 3.1.x version
|
||||||
|
foreach ($file in $jsonData.files.PSObject.Properties) {
|
||||||
|
$details = $file.Value
|
||||||
|
if ($details.basever -like "3.1*" -and $file.Name -like "Win32OpenSSL*") {
|
||||||
|
if ([version]$details.basever -gt [version]$latestVersion) {
|
||||||
|
$latestVersion = $details.basever
|
||||||
|
$latestUrl = $details.url
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Output the latest version and URL
|
||||||
|
Write-Output "Latest OpenSSL Win32 3.1.x version: $latestVersion"
|
||||||
|
Write-Output "Download link: $latestUrl"
|
||||||
|
|
||||||
|
$installerURL = $latestURL
|
||||||
|
$installerName = "Win32OpenSSL.exe"
|
||||||
$installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName"
|
$installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName"
|
||||||
|
|
||||||
(New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath)
|
(New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath)
|
||||||
@ -115,8 +140,33 @@ jobs:
|
|||||||
- name: Download And Install 64-bit OpenSSL
|
- name: Download And Install 64-bit OpenSSL
|
||||||
run: |
|
run: |
|
||||||
$installDir = "$Env:ProgramFiles\OpenSSL"
|
$installDir = "$Env:ProgramFiles\OpenSSL"
|
||||||
$installerURL = "https://slproweb.com/download/Win64OpenSSL-3_1_6.exe"
|
# Define the URL for the JSON file containing the hashes
|
||||||
$installerName = "Win64OpenSSL-3_1_6.exe"
|
$jsonUrl = "https://raw.githubusercontent.com/slproweb/opensslhashes/master/win32_openssl_hashes.json"
|
||||||
|
|
||||||
|
# Download the JSON data
|
||||||
|
$jsonData = Invoke-RestMethod -Uri $jsonUrl
|
||||||
|
|
||||||
|
# Initialize variables for the latest version and URL
|
||||||
|
$latestVersion = "0.0.0"
|
||||||
|
$latestUrl = ""
|
||||||
|
|
||||||
|
# Iterate through the files to find the latest 3.1.x version
|
||||||
|
foreach ($file in $jsonData.files.PSObject.Properties) {
|
||||||
|
$details = $file.Value
|
||||||
|
if ($details.basever -like "3.1*" -and $file.Name -like "Win64OpenSSL*") {
|
||||||
|
if ([version]$details.basever -gt [version]$latestVersion) {
|
||||||
|
$latestVersion = $details.basever
|
||||||
|
$latestUrl = $details.url
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Output the latest version and URL
|
||||||
|
Write-Output "Latest OpenSSL Win64 3.1.x version: $latestVersion"
|
||||||
|
Write-Output "Download link: $latestUrl"
|
||||||
|
|
||||||
|
$installerURL = $latestURL
|
||||||
|
$installerName = "Win64OpenSSL.exe"
|
||||||
$installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName"
|
$installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName"
|
||||||
|
|
||||||
(New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath)
|
(New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath)
|
||||||
|
@ -51,13 +51,12 @@ In light of the recent exponential interest in this project I've decided to put
|
|||||||
* Download the latest experimental version using the Actions tab ([Windows](../../actions/workflows/windows.yml?query=branch%3Amaster+is%3Asuccess), [Linux](../../actions/workflows/linux.yml?query=branch%3Amaster+is%3Asuccess), [macOS](../../actions/workflows/macos.yml?query=branch%3Amaster+is%3Asuccess), [FreeBSD](../../actions/workflows/freebsd.yml?query=branch%3Amaster+is%3Asuccess), [DOS DJGPP](../../actions/workflows/dos-djgpp.yml?query=branch%3Amaster+is%3Asuccess))
|
* Download the latest experimental version using the Actions tab ([Windows](../../actions/workflows/windows.yml?query=branch%3Amaster+is%3Asuccess), [Linux](../../actions/workflows/linux.yml?query=branch%3Amaster+is%3Asuccess), [macOS](../../actions/workflows/macos.yml?query=branch%3Amaster+is%3Asuccess), [FreeBSD](../../actions/workflows/freebsd.yml?query=branch%3Amaster+is%3Asuccess), [DOS DJGPP](../../actions/workflows/dos-djgpp.yml?query=branch%3Amaster+is%3Asuccess))
|
||||||
|
|
||||||
|
|
||||||
* ~~*(GitHub account \*not\* required)*~~
|
* *(GitHub account \*not\* required)*
|
||||||
* ~~Download the latest release for your operating system and architecture from [the releases page](../../releases)~~
|
* Download the latest release for your operating system and architecture from [the releases page](../../releases)
|
||||||
* No official releases right now, use the other method to get the latest version.
|
|
||||||
|
|
||||||
* **Note:** Before continuing, please ensure you have the `umskt` executable extracted and on UNIX-like systems, have execution permissions (`chmod +x umskt`).
|
* **Note:** Before continuing, please ensure you have the `umskt` executable extracted and on UNIX-like systems, have execution permissions (`chmod +x umskt`).
|
||||||
|
|
||||||
#### 2. Install OpenSSL 3.1.2.
|
#### 2. Install OpenSSL.
|
||||||
For Windows, click [here](https://slproweb.com/products/Win32OpenSSL.html) and choose the right version. For other operating systems, consult your package manager.
|
For Windows, click [here](https://slproweb.com/products/Win32OpenSSL.html) and choose the right version. For other operating systems, consult your package manager.
|
||||||
*Note: This only applies if the build you download has OpenSSL embedded (static library) or not. You can usually tell if the download size is measured in KB or MB. If it's MB, you don't need this.*
|
*Note: This only applies if the build you download has OpenSSL embedded (static library) or not. You can usually tell if the download size is measured in KB or MB. If it's MB, you don't need this.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user