7575 }
7676 shell : pwsh
7777
78- download-yukihana -patch :
78+ download-Yui -patch :
7979 runs-on : windows-latest
8080 needs :
8181 - compare-versions
8888
8989 outputs :
9090 is-compatible-cont : ${{ steps.is-compatible-cont.outputs.is-compatible-cont }}
91- yukihana -fiddler-name : ${{ steps.yukihana -fiddler-name.outputs.yukihana -fiddler-name }}
91+ Yui -fiddler-name : ${{ steps.Yui -fiddler-name.outputs.Yui -fiddler-name }}
9292
9393 steps :
9494 - name : Compare SCRAPED_VERSION with 5.17.0
@@ -113,60 +113,60 @@ jobs:
113113 id : is-compatible-cont
114114 run : echo "is-compatible-cont=${{ env.IS_COMPATIBLE_CONT }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
115115
116- - name : Set Yukihana fiddler name (>= 5.17.0)
116+ - name : Set Yui fiddler name (>= 5.17.0)
117117 if : env.IS_COMPATIBLE_CONT == 'true'
118- run : echo "YUKIHANA_FIDDLER_NAME =fiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
118+ run : echo "Yui_FIDDLER_NAME =fiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
119119
120- - name : Set Yukihana fiddler name (< 5.17.0)
120+ - name : Set Yui fiddler name (< 5.17.0)
121121 if : env.IS_COMPATIBLE_CONT == 'false'
122- run : echo "YUKIHANA_FIDDLER_NAME =libfiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
122+ run : echo "Yui_FIDDLER_NAME =libfiddler" | Out-File -Append -FilePath $env:GITHUB_ENV
123123
124- - name : Set YUKIHANA_FIDDLER_NAME as Output
125- id : yukihana -fiddler-name
126- run : echo "yukihana -fiddler-name=${{ env.YUKIHANA_FIDDLER_NAME }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
124+ - name : Set Yui_FIDDLER_NAME as Output
125+ id : Yui -fiddler-name
126+ run : echo "Yui -fiddler-name=${{ env.Yui_FIDDLER_NAME }}" | Out-File -Append -FilePath $env:GITHUB_OUTPUT
127127
128- - name : Create yukihana directory
128+ - name : Create Yui directory
129129 run : |
130- if (-Not (Test-Path "yukihana ")) {
131- New-Item -ItemType Directory -Path "yukihana "
130+ if (-Not (Test-Path "Yui ")) {
131+ New-Item -ItemType Directory -Path "Yui "
132132 }
133133 shell : pwsh
134134
135- - name : Set Yukihana Release (>= 5.17.0)
135+ - name : Set Yui Release (>= 5.17.0)
136136 if : env.IS_COMPATIBLE_CONT == 'true'
137- run : echo "YUKIHANA_RELEASE =continuous" | Out-File -Append -FilePath $env:GITHUB_ENV
137+ run : echo "Yui_RELEASE =continuous" | Out-File -Append -FilePath $env:GITHUB_ENV
138138
139- - name : Set Yukihana Release (< 5.17.0)
139+ - name : Set Yui Release (< 5.17.0)
140140 if : env.IS_COMPATIBLE_CONT == 'false'
141- run : echo "YUKIHANA_RELEASE =v1.0.9" | Out-File -Append -FilePath $env:GITHUB_ENV
141+ run : echo "Yui_RELEASE =v1.0.9" | Out-File -Append -FilePath $env:GITHUB_ENV
142142
143- - name : Download Yukihana Patch
143+ - name : Download Yui Patch
144144 run : |
145145 try {
146146 # Build the download URLs
147- $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"
148- $yukihanaHostPolicyUrl = "https://github.com/project-yukihana/Yukihana -patch/releases/download/$env:YUKIHANA_RELEASE/yukihana -hostpolicy-win32-x86_64-$env:YUKIHANA_RELEASE .dll"
147+ $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"
148+ $YuiHostPolicyUrl = "https://github.com/project-yui/Yui -patch/releases/download/$env:Yui_RELEASE/Yui -hostpolicy-win32-x86_64-$env:Yui_RELEASE .dll"
149149
150150 # Print the URLs to ensure they're correct
151- Write-Host "Downloading files from $env:YUKIHANA_RELEASE "
152- Write-Host "Yukihana Fiddler URL: $yukihanaFiddlerUrl "
153- Write-Host "Yukihana HostPolicy URL: $yukihanaHostPolicyUrl "
151+ Write-Host "Downloading files from $env:Yui_RELEASE "
152+ Write-Host "Yui Fiddler URL: $YuiFiddlerUrl "
153+ Write-Host "Yui HostPolicy URL: $YuiHostPolicyUrl "
154154
155155 # Download the files
156- Invoke-WebRequest -Uri $yukihanaFiddlerUrl -OutFile "yukihana \$env:YUKIHANA_FIDDLER_NAME .dll"
157- Invoke-WebRequest -Uri $yukihanaHostPolicyUrl -OutFile "yukihana \hostpolicy.dll"
156+ Invoke-WebRequest -Uri $YuiFiddlerUrl -OutFile "Yui \$env:Yui_FIDDLER_NAME .dll"
157+ Invoke-WebRequest -Uri $YuiHostPolicyUrl -OutFile "Yui \hostpolicy.dll"
158158 }
159159 catch {
160160 Write-Error "Failed to download the patch files. Error details: $_"
161161 exit 1
162162 }
163163 shell : pwsh
164164
165- - name : Upload yukihana folder as an artifact
165+ - name : Upload Yui folder as an artifact
166166 uses : actions/upload-artifact@v4
167167 with :
168- name : yukihana -patch
169- path : yukihana /
168+ name : Yui -patch
169+ path : Yui /
170170 if-no-files-found : error
171171
172172 download-msojocs-server :
@@ -247,7 +247,7 @@ jobs:
247247
248248 needs :
249249 - compare-versions
250- - download-yukihana -patch
250+ - download-Yui -patch
251251 - download-msojocs-server
252252 - download-fiddler-everywhere
253253 - scrape_fe_version
@@ -262,8 +262,8 @@ jobs:
262262 - name : Download Yukuhana-Patch
263263 uses : actions/download-artifact@v4
264264 with :
265- name : yukihana -patch
266- path : yukihana -patch
265+ name : Yui -patch
266+ path : Yui -patch
267267
268268 - name : Download msojocs-Server
269269 uses : actions/download-artifact@v4
@@ -279,7 +279,7 @@ jobs:
279279
280280 - name : List the contents of the downloaded artifacts
281281 run : |
282- Get-ChildItem -Recurse yukihana -patch
282+ Get-ChildItem -Recurse Yui -patch
283283 Get-ChildItem -Recurse msojocs-patch
284284 Get-ChildItem -Recurse fe_app64
285285 shell : pwsh
@@ -289,37 +289,37 @@ jobs:
289289
290290 - name : Patch fiddler.dll / libfiddler.dll
291291 run : |
292- $original_fiddler = "FE/${{ needs.download-yukihana -patch.outputs.yukihana -fiddler-name }}.dll"
293- $yukihana_fiddler = "yukihana -patch/${{ needs.download-yukihana -patch.outputs.yukihana -fiddler-name }}.dll"
292+ $original_fiddler = "FE/${{ needs.download-Yui -patch.outputs.Yui -fiddler-name }}.dll"
293+ $Yui_fiddler = "Yui -patch/${{ needs.download-Yui -patch.outputs.Yui -fiddler-name }}.dll"
294294
295- if ((Test-Path $original_fiddler) -and (Test-Path $yukihana_fiddler )) {
296- Copy-Item -Path $yukihana_fiddler -Destination $original_fiddler -Force
297- Write-Host "Replaced $original_fiddler with $yukihana_fiddler "
295+ if ((Test-Path $original_fiddler) -and (Test-Path $Yui_fiddler )) {
296+ Copy-Item -Path $Yui_fiddler -Destination $original_fiddler -Force
297+ Write-Host "Replaced $original_fiddler with $Yui_fiddler "
298298 } else {
299- Write-Host "fiddler / libfiddler or yukihana patch not found"
299+ Write-Host "fiddler / libfiddler or Yui patch not found"
300300 }
301301 shell : pwsh
302302
303303 - name : Patch hostpolicy.dll
304304 run : |
305305 $original_hostpolicy = "FE/resources/app/out/WebServer/hostpolicy.dll"
306306 $original_copy_hostpolicy = "FE/resources/app/out/WebServer/hostpolicy.original.dll"
307- $yukihana_hostpolicy = "yukihana -patch/hostpolicy.dll"
307+ $Yui_hostpolicy = "Yui -patch/hostpolicy.dll"
308308
309- if ((Test-Path $original_hostpolicy) -and (Test-Path $yukihana_hostpolicy )) {
309+ if ((Test-Path $original_hostpolicy) -and (Test-Path $Yui_hostpolicy )) {
310310 Move-Item -Path $original_hostpolicy -Destination $original_copy_hostpolicy
311- Copy-Item -Path $yukihana_hostpolicy -Destination $original_hostpolicy
312- Write-Host "Renamed $original_fiddler with $original_copy_hostpolicy & Applied Yukihana Patch"
311+ Copy-Item -Path $Yui_hostpolicy -Destination $original_hostpolicy
312+ Write-Host "Renamed $original_fiddler with $original_copy_hostpolicy & Applied Yui Patch"
313313 } else {
314- Write-Host "original hostpolicy.dll or yukihana hotstpolicy not found"
314+ Write-Host "original hostpolicy.dll or Yui hotstpolicy not found"
315315 }
316316
317- - name : Clean yukihana -patch
317+ - name : Clean Yui -patch
318318 run : |
319- if (Test-Path yukihana -patch) {
320- Remove-Item -Path "yukihana -patch" -Recurse
319+ if (Test-Path Yui -patch) {
320+ Remove-Item -Path "Yui -patch" -Recurse
321321 } else {
322- Write-Host "yukihana -patch Folder not found"
322+ Write-Host "Yui -patch Folder not found"
323323 }
324324
325325 - name : Copy Server Folder
0 commit comments