4242 $fileContent = Get-Content -Path "utils/fe-version-scraper/latest_version.txt" -Raw
4343 echo "scraped_version=$fileContent" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
4444
45- download-yukihana -patch :
45+ download-Yui -patch :
4646 runs-on : windows-latest
4747 needs :
4848 - scrape_fe_version
5252
5353 outputs :
5454 is-compatible-cont : ${{ steps.is-compatible-cont.outputs.is-compatible-cont }}
55- yukihana -fiddler-name : ${{ steps.yukihana -fiddler-name.outputs.yukihana -fiddler-name }}
55+ Yui -fiddler-name : ${{ steps.Yui -fiddler-name.outputs.Yui -fiddler-name }}
5656
5757 steps :
5858 - name : Compare SCRAPED_VERSION with 5.17.0
@@ -77,60 +77,60 @@ jobs:
7777 id : is-compatible-cont
7878 run : echo "is-compatible-cont=${{ env.IS_COMPATIBLE_CONT }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
7979
80- - name : Set Yukihana fiddler name (>= 5.17.0)
80+ - name : Set Yui fiddler name (>= 5.17.0)
8181 if : env.IS_COMPATIBLE_CONT == 'true'
82- run : echo "YUKIHANA_FIDDLER_NAME =fiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
82+ run : echo "Yui_FIDDLER_NAME =fiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
8383
84- - name : Set Yukihana fiddler name (< 5.17.0)
84+ - name : Set Yui fiddler name (< 5.17.0)
8585 if : env.IS_COMPATIBLE_CONT == 'false'
86- run : echo "YUKIHANA_FIDDLER_NAME =libfiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
86+ run : echo "Yui_FIDDLER_NAME =libfiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
8787
88- - name : Set YUKIHANA_FIDDLER_NAME as Output
89- id : yukihana -fiddler-name
90- run : echo "yukihana -fiddler-name=${{ env.YUKIHANA_FIDDLER_NAME }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
88+ - name : Set Yui_FIDDLER_NAME as Output
89+ id : Yui -fiddler-name
90+ run : echo "Yui -fiddler-name=${{ env.Yui_FIDDLER_NAME }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
9191
92- - name : Create yukihana directory
92+ - name : Create Yui directory
9393 run : |
94- if (-Not (Test-Path "yukihana ")) {
95- New-Item -ItemType Directory -Path "yukihana "
94+ if (-Not (Test-Path "Yui ")) {
95+ New-Item -ItemType Directory -Path "Yui "
9696 }
9797 shell : pwsh
9898
99- - name : Set Yukihana Release (>= 5.17.0)
99+ - name : Set Yui Release (>= 5.17.0)
100100 if : env.IS_COMPATIBLE_CONT == 'true'
101- run : echo "YUKIHANA_RELEASE =continuous" | Out-File -Append -FilePath $env:GITHUB_ENV
101+ run : echo "Yui_RELEASE =continuous" | Out-File -Append -FilePath $env:GITHUB_ENV
102102
103- - name : Set Yukihana Release (< 5.17.0)
103+ - name : Set Yui Release (< 5.17.0)
104104 if : env.IS_COMPATIBLE_CONT == 'false'
105- run : echo "YUKIHANA_RELEASE =v1.0.9" | Out-File -Append -FilePath $env:GITHUB_ENV
105+ run : echo "Yui_RELEASE =v1.0.9" | Out-File -Append -FilePath $env:GITHUB_ENV
106106
107- - name : Download Yukihana Patch
107+ - name : Download Yui Patch
108108 run : |
109109 try {
110110 # Build the download URLs
111- $yukihanaFiddlerUrl = "https://github.com/project-yukihana/Yukihana -patch/releases/download/$env:YUKIHANA_RELEASE/yukihana -$env:YUKIHANA_FIDDLER_NAME -win32-x86_64-$env:YUKIHANA_RELEASE .dll"
112- $yukihanaHostPolicyUrl = "https://github.com/project-yukihana/Yukihana -patch/releases/download/$env:YUKIHANA_RELEASE/yukihana -hostpolicy-win32-x86_64-$env:YUKIHANA_RELEASE .dll"
111+ $YuiFiddlerUrl = "https://github.com/project-yui/Yui -patch/releases/download/$env:Yui_RELEASE/Yui -$env:Yui_FIDDLER_NAME -win32-x86_64-$env:Yui_RELEASE .dll"
112+ $YuiHostPolicyUrl = "https://github.com/project-yui/Yui -patch/releases/download/$env:Yui_RELEASE/Yui -hostpolicy-win32-x86_64-$env:Yui_RELEASE .dll"
113113
114114 # Print the URLs to ensure they're correct
115- Write-Host "Downloading files from $env:YUKIHANA_RELEASE "
116- Write-Host "Yukihana Fiddler URL: $yukihanaFiddlerUrl "
117- Write-Host "Yukihana HostPolicy URL: $yukihanaHostPolicyUrl "
115+ Write-Host "Downloading files from $env:Yui_RELEASE "
116+ Write-Host "Yui Fiddler URL: $YuiFiddlerUrl "
117+ Write-Host "Yui HostPolicy URL: $YuiHostPolicyUrl "
118118
119119 # Download the files
120- Invoke-WebRequest -Uri $yukihanaFiddlerUrl -OutFile "yukihana \$env:YUKIHANA_FIDDLER_NAME .dll"
121- Invoke-WebRequest -Uri $yukihanaHostPolicyUrl -OutFile "yukihana \hostpolicy.dll"
120+ Invoke-WebRequest -Uri $YuiFiddlerUrl -OutFile "Yui \$env:Yui_FIDDLER_NAME .dll"
121+ Invoke-WebRequest -Uri $YuiHostPolicyUrl -OutFile "Yui \hostpolicy.dll"
122122 }
123123 catch {
124124 Write-Error "Failed to download the patch files. Error details: $_"
125125 exit 1
126126 }
127127 shell : pwsh
128128
129- - name : Upload yukihana folder as an artifact
129+ - name : Upload Yui folder as an artifact
130130 uses : actions/upload-artifact@v4
131131 with :
132- name : yukihana -patch
133- path : yukihana /
132+ name : Yui -patch
133+ path : Yui /
134134 if-no-files-found : error
135135
136136 download-msojocs-server :
@@ -207,7 +207,7 @@ jobs:
207207 runs-on : windows-latest
208208
209209 needs :
210- - download-yukihana -patch
210+ - download-Yui -patch
211211 - download-msojocs-server
212212 - download-fiddler-everywhere
213213 - scrape_fe_version
@@ -222,8 +222,8 @@ jobs:
222222 - name : Download Yukuhana-Patch
223223 uses : actions/download-artifact@v4
224224 with :
225- name : yukihana -patch
226- path : yukihana -patch
225+ name : Yui -patch
226+ path : Yui -patch
227227
228228 - name : Download msojocs-Server
229229 uses : actions/download-artifact@v4
@@ -239,7 +239,7 @@ jobs:
239239
240240 - name : List the contents of the downloaded artifacts
241241 run : |
242- Get-ChildItem -Recurse yukihana -patch
242+ Get-ChildItem -Recurse Yui -patch
243243 Get-ChildItem -Recurse msojocs-patch
244244 Get-ChildItem -Recurse fe_app64
245245 shell : pwsh
@@ -249,37 +249,37 @@ jobs:
249249
250250 - name : Patch fiddler.dll / libfiddler.dll
251251 run : |
252- $original_fiddler = "FE/${{ needs.download-yukihana -patch.outputs.yukihana -fiddler-name }}.dll"
253- $yukihana_fiddler = "yukihana -patch/${{ needs.download-yukihana -patch.outputs.yukihana -fiddler-name }}.dll"
252+ $original_fiddler = "FE/${{ needs.download-Yui -patch.outputs.Yui -fiddler-name }}.dll"
253+ $Yui_fiddler = "Yui -patch/${{ needs.download-Yui -patch.outputs.Yui -fiddler-name }}.dll"
254254
255- if ((Test-Path $original_fiddler) -and (Test-Path $yukihana_fiddler )) {
256- Copy-Item -Path $yukihana_fiddler -Destination $original_fiddler -Force
257- Write-Host "Replaced $original_fiddler with $yukihana_fiddler "
255+ if ((Test-Path $original_fiddler) -and (Test-Path $Yui_fiddler )) {
256+ Copy-Item -Path $Yui_fiddler -Destination $original_fiddler -Force
257+ Write-Host "Replaced $original_fiddler with $Yui_fiddler "
258258 } else {
259- Write-Host "fiddler / libfiddler or yukihana patch not found"
259+ Write-Host "fiddler / libfiddler or Yui patch not found"
260260 }
261261 shell : pwsh
262262
263263 - name : Patch hostpolicy.dll
264264 run : |
265265 $original_hostpolicy = "FE/resources/app/out/WebServer/hostpolicy.dll"
266266 $original_copy_hostpolicy = "FE/resources/app/out/WebServer/hostpolicy.original.dll"
267- $yukihana_hostpolicy = "yukihana -patch/hostpolicy.dll"
267+ $Yui_hostpolicy = "Yui -patch/hostpolicy.dll"
268268
269- if ((Test-Path $original_hostpolicy) -and (Test-Path $yukihana_hostpolicy )) {
269+ if ((Test-Path $original_hostpolicy) -and (Test-Path $Yui_hostpolicy )) {
270270 Move-Item -Path $original_hostpolicy -Destination $original_copy_hostpolicy
271- Copy-Item -Path $yukihana_hostpolicy -Destination $original_hostpolicy
272- Write-Host "Renamed $original_fiddler with $original_copy_hostpolicy & Applied Yukihana Patch"
271+ Copy-Item -Path $Yui_hostpolicy -Destination $original_hostpolicy
272+ Write-Host "Renamed $original_fiddler with $original_copy_hostpolicy & Applied Yui Patch"
273273 } else {
274- Write-Host "original hostpolicy.dll or yukihana hotstpolicy not found"
274+ Write-Host "original hostpolicy.dll or Yui hotstpolicy not found"
275275 }
276276
277- - name : Clean yukihana -patch
277+ - name : Clean Yui -patch
278278 run : |
279- if (Test-Path yukihana -patch) {
280- Remove-Item -Path "yukihana -patch" -Recurse
279+ if (Test-Path Yui -patch) {
280+ Remove-Item -Path "Yui -patch" -Recurse
281281 } else {
282- Write-Host "yukihana -patch Folder not found"
282+ Write-Host "Yui -patch Folder not found"
283283 }
284284
285285 - name : Copy Server Folder
0 commit comments