Browse Source

Updated Sophia.yml

master
Dmitry Nefedov 4 months ago
parent
commit
54b86c4feb
  1. 27
      .github/workflows/Sophia.yml
  2. 5
      README.md
  3. 5
      README_de-de.md
  4. 5
      README_uk-ua.md
  5. 34
      ReleaseNotesTemplate.md
  6. 49
      img/SSdownloadbutton.svg

27
.github/workflows/Sophia.yml

@ -64,8 +64,33 @@ jobs:
}
$Penultimate = (Invoke-RestMethod @Parameters).tag_name | Select-Object -Index 1
# Parse json for the latest script versions
$Parameters = @{
Uri = "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json"
UseBasicParsing = $true
Verbose = $true
}
$Sophia_Script_Windows_10_PowerShell_5_1 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_5_1
$Sophia_Script_Windows_10_PowerShell_7 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_7
$Sophia_Script_Windows_10_LTSC2019 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2019
$Sophia_Script_Windows_10_LTSC2021 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2021
$Sophia_Script_Windows_11_PowerShell_5_1 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_5_1
$Sophia_Script_Windows_11_PowerShell_7 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_7
$Sophia_Script_Wrapper = (Invoke-RestMethod @Parameters).Sophia_Script_Wrapper
# Replace variables with script latest versions
# No need to replace special characters with percent-encoding ones
(Get-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Raw).replace("NewVersion", "${{ github.ref_name }}").replace("OldVersion", $Penultimate) | Set-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Force
(Get-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Raw) | Foreach-Object -Process {
$_ -replace "NewVersion", "${{ github.ref_name }}" `
-replace "OldVersion", $Penultimate `
-replace "Sophia_Script_Windows_10_PowerShell_5_1", $Sophia_Script_Windows_10_PowerShell_5_1 `
-replace "Sophia_Script_Windows_10_PowerShell_7", $Sophia_Script_Windows_10_PowerShell_7 `
-replace "Sophia_Script_Windows_10_LTSC2019", $Sophia_Script_Windows_10_LTSC2019 `
-replace "Sophia_Script_Windows_10_LTSC2021", $Sophia_Script_Windows_10_LTSC2021 `
-replace "Sophia_Script_Windows_11_PowerShell_5_1", $Sophia_Script_Windows_11_PowerShell_5_1 `
-replace "Sophia_Script_Windows_11_PowerShell_7", $Sophia_Script_Windows_11_PowerShell_7 `
-replace "Sophia_Script_Wrapper", $Sophia_Script_Wrapper
} | Set-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Force
# https://trstringer.com/github-actions-multiline-strings/
Add-Content -Path $env:GITHUB_OUTPUT -Value "ReleaseBody=ReleaseNotesTemplate.md"

5
README.md

@ -101,11 +101,6 @@
</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>
| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |
## System Requirements
[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562

5
README_de-de.md

@ -101,11 +101,6 @@
</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>
| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |
## System-Voraussetzungen
[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562

5
README_uk-ua.md

@ -101,11 +101,6 @@
</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>
| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |
## Системні вимоги
[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562

34
ReleaseNotesTemplate.md

@ -6,3 +6,37 @@
Diff from vOldVersion
[OldVersion...NewVersion](https://github.com/farag2/Sophia-Script-for-Windows/compare/OldVersion...NewVersion)
***
[Sophia-Script-Windows-10-PowerShell-5-1]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.vSophia_Script_Windows_10_PowerShell_5_1.zip
[Sophia-Script-Windows-10-PowerShell-5-1-badge]: https://img.shields.io/badge/Windows%2010%20x64-PowerShell%205.1-67b7d1.svg
[Sophia-Script-Windows-10-PowerShell-7]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.PowerShell.7.vSophia_Script_Windows_10_PowerShell_7.zip
[Sophia-Script-Windows-10-PowerShell-7-badge]: https://img.shields.io/badge/Windows%2010%20x64-PowerShell%207-67b7d1.svg
[Sophia-Script-Windows-10-LTSC2019]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.LTSC.2019.vSophia_Script_Windows_10_LTSC2019.zip
[Sophia-Script-Windows-10-LTSC2019-badge]: https://img.shields.io/badge/Windows%2010%20x64-LTSC%202019-67b7d1.svg
[Sophia-Script-Windows-10-LTSC2021]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.LTSC.2021.vSophia_Script_Windows_10_LTSC2021.zip
[Sophia-Script-Windows-10-LTSC2021-badge]: https://img.shields.io/badge/Windows%2010%20x64-LTSC%202021-67b7d1.svg
[Sophia-Script-Windows-11-PowerShell-5-1]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.11.vSophia_Script_Windows_11_PowerShell_5_1.zip
[Sophia-Script-Windows-11-PowerShell-5-1-badge]: https://img.shields.io/badge/Windows%2011%20x64-PowerShell%205.1-67b7d1.svg
[Sophia-Script-Windows-11-PowerShell-7]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.11.PowerShell.7.vSophia_Script_Windows_11_PowerShell_7.zip
[Sophia-Script-Windows-11-PowerShell-7-badge]: https://img.shields.io/badge/Windows%2011%20x64-PowerShell%207-67b7d1.svg
[Sophia-Script-Wrapper]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.Wrapper.vSophia_Script_Wrapper.zip
[Sophia-Script-Wrapper-badge]: https://img.shields.io/badge/Sophia%20Script%20Wrapper-67b7d1.svg
| Download |
|:----------------------------------------------------------------------------------------------------|
| [![Script][Sophia-Script-Windows-10-PowerShell-5-1-badge]][Sophia-Script-Windows-10-PowerShell-5-1] |
| [![Script][Sophia-Script-Windows-10-PowerShell-7-badge]][Sophia-Script-Windows-10-PowerShell-7] |
| [![Script][Sophia-Script-Windows-10-LTSC2019-badge]][Sophia-Script-Windows-10-LTSC2019] |
| [![Script][Sophia-Script-Windows-10-LTSC2021-badge]][Sophia-Script-Windows-10-LTSC2021] |
| [![Script][Sophia-Script-Windows-11-PowerShell-5-1-badge]][Sophia-Script-Windows-11-PowerShell-5-1] |
| [![Script][Sophia-Script-Windows-11-PowerShell-7-badge]][Sophia-Script-Windows-11-PowerShell-7] |
| [![Script][Sophia-Script-Wrapper-badge]][Sophia-Script-Wrapper] |

49
img/SSdownloadbutton.svg

@ -1,49 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="950px" height="225px" viewBox="0 0 950 225" enable-background="new 0 0 950 225" xml:space="preserve">
<rect x="10.353" y="10.378" fill="#2F2F2F" stroke="#11ADE4" stroke-width="20.3794" stroke-miterlimit="10" width="929.895" height="204.807"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FEFEFF" d="M117.809,181.121c-18.977,0-37.953,0-56.93-0.002
c-3.446,0-6.645-0.809-9.426-2.941c-2.098-1.609-3.295-3.701-3.298-6.379c-0.014-11.821-0.048-23.644,0.007-35.464
c0.022-4.714,3.667-8.059,8.483-8.013c4.852,0.047,8.341,3.369,8.37,8.131c0.05,8.274,0.055,16.551-0.022,24.824
c-0.014,1.525,0.336,1.973,1.925,1.97c34.034-0.05,68.066-0.054,102.1,0.01c1.761,0.003,1.991-0.579,1.979-2.106
c-0.069-8.149-0.037-16.301-0.03-24.451c0.003-3.908,1.718-6.586,5.042-7.921c3.458-1.389,7.271-0.584,9.793,2.027
c1.475,1.528,2.041,3.383,2.043,5.438c0.01,11.387,0.067,22.773-0.02,34.158c-0.048,6.312-4.923,10.551-12.153,10.689
c-4.977,0.096-9.955,0.029-14.933,0.029C146.43,181.122,132.119,181.121,117.809,181.121z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FEFEFF" d="M110.357,128.203c0-1.035,0-1.637,0-2.238
c0-23.396,0.003-46.794-0.002-70.19c-0.001-3.281,1.31-5.811,4.31-7.243c2.819-1.345,5.583-1.053,8.072,0.851
c2.133,1.631,2.927,3.901,2.923,6.548c-0.019,15.806-0.009,31.611-0.009,47.417c0,8.137,0,16.274,0,24.829
c3.133-3.404,6.018-6.526,8.891-9.66c4.667-5.092,9.267-10.244,14.006-15.266c4.295-4.551,11.161-3.36,13.047,2.203
c1.08,3.187,0.232,5.977-2.067,8.386c-10.396,10.893-20.784,21.793-31.171,32.694c-1.374,1.44-2.71,2.917-4.088,4.354
c-4.69,4.89-7.675,4.953-12.376,0.108c-5.156-5.313-10.227-10.71-15.333-16.071c-6.695-7.029-13.394-14.053-20.08-21.09
c-3.081-3.242-3.407-7.577-0.838-10.635c3.07-3.653,8.293-3.705,11.798,0.03c4.684,4.99,9.26,10.08,13.884,15.125
C104.224,121.518,107.125,124.679,110.357,128.203z"/>
<path fill="#00AEE0" d="M215.651,66.497c7.076-1.068,15.488-1.869,24.7-1.869c16.689,0,28.572,3.872,36.45,11.215
c8.011,7.343,12.684,17.757,12.684,32.311c0,14.687-4.54,26.702-12.951,34.981c-8.412,8.41-22.297,12.949-39.788,12.949
c-8.278,0-15.221-0.4-21.095-1.066V66.497z M227.267,146.07c2.938,0.535,7.21,0.668,11.75,0.668
c24.833,0,38.318-13.885,38.318-38.185c0.134-21.229-11.883-34.714-36.449-34.714c-6.008,0-10.548,0.534-13.619,1.202V146.07z"/>
<path fill="#00AEE0" d="M381.473,109.355c0,30.975-18.825,47.397-41.79,47.397c-23.766,0-40.455-18.424-40.455-45.662
c0-28.572,17.757-47.264,41.79-47.264C365.584,63.826,381.473,82.652,381.473,109.355z M311.645,110.823
c0,19.226,10.415,36.45,28.706,36.45c18.425,0,28.839-16.957,28.839-37.385c0-17.891-9.346-36.583-28.706-36.583
C321.258,73.306,311.645,91.063,311.645,110.823z"/>
<path fill="#00AEE0" d="M411.245,155.283l-22.831-89.988h12.283l10.681,45.528c2.67,11.216,5.073,22.431,6.676,31.108h0.267
c1.468-8.945,4.272-19.627,7.343-31.242l12.016-45.395h12.15l10.948,45.662c2.537,10.682,4.94,21.361,6.275,30.842h0.267
c1.869-9.881,4.406-19.895,7.21-31.109l11.883-45.395h11.882l-25.501,89.988h-12.15l-11.349-46.863
c-2.804-11.482-4.673-20.294-5.875-29.373h-0.267c-1.602,8.946-3.605,17.757-6.943,29.373l-12.817,46.863H411.245z"/>
<path fill="#00AEE0" d="M509.509,155.283V65.295h12.684l28.839,45.528c6.676,10.548,11.883,20.026,16.155,29.239l0.268-0.133
c-1.068-12.016-1.336-22.965-1.336-36.984V65.295h10.948v89.988h-11.749l-28.572-45.662c-6.275-10.013-12.283-20.294-16.822-30.041
l-0.4,0.133c0.667,11.349,0.935,22.164,0.935,37.118v38.451H509.509z"/>
<path fill="#00AEE0" d="M597.359,65.295h11.615v80.242h38.452v9.746h-50.067V65.295z"/>
<path fill="#00AEE0" d="M732.074,109.355c0,30.975-18.826,47.397-41.79,47.397c-23.766,0-40.455-18.424-40.455-45.662
c0-28.572,17.757-47.264,41.79-47.264C716.186,63.826,732.074,82.652,732.074,109.355z M662.246,110.823
c0,19.226,10.414,36.45,28.705,36.45c18.425,0,28.84-16.957,28.84-37.385c0-17.891-9.347-36.583-28.706-36.583
C671.858,73.306,662.246,91.063,662.246,110.823z"/>
<path fill="#00AEE0" d="M759.844,126.979l-9.346,28.305h-12.017l30.575-89.988h14.019l30.708,89.988h-12.416l-9.613-28.305H759.844z
M789.351,117.9l-8.813-25.902c-2.002-5.875-3.338-11.215-4.673-16.422h-0.267c-1.335,5.34-2.804,10.814-4.54,16.289l-8.812,26.036
H789.351z"/>
<path fill="#00AEE0" d="M827.001,66.497c7.076-1.068,15.487-1.869,24.7-1.869c16.688,0,28.571,3.872,36.449,11.215
c8.011,7.343,12.684,17.757,12.684,32.311c0,14.687-4.539,26.702-12.951,34.981c-8.411,8.41-22.297,12.949-39.787,12.949
c-8.277,0-15.221-0.4-21.095-1.066V66.497z M838.616,146.07c2.938,0.535,7.21,0.668,11.749,0.668
c24.834,0,38.319-13.885,38.319-38.185c0.133-21.229-11.883-34.714-36.45-34.714c-6.008,0-10.547,0.534-13.618,1.202V146.07z"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.9 KiB

Loading…
Cancel
Save