File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 6464
6565 Write-Host "Using Inno Setup compiler: $isccPath"
6666
67+ $innoDir = Split-Path -Path $isccPath -Parent
68+ $langDir = Join-Path $innoDir "Languages"
69+ $chineseSimplifiedPath = Join-Path $langDir "ChineseSimplified.isl"
70+ $chineseSimplifiedUrl = "https://raw.githubusercontent.com/jrsoftware/issrc/refs/heads/main/Files/Languages/Unofficial/ChineseSimplified.isl"
71+
72+ if (-not (Test-Path $langDir)) {
73+ New-Item -ItemType Directory -Path $langDir -Force | Out-Null
74+ }
75+
76+ if (-not (Test-Path $chineseSimplifiedPath)) {
77+ Write-Host "ChineseSimplified.isl not found. Downloading from: $chineseSimplifiedUrl"
78+ Invoke-WebRequest -Uri $chineseSimplifiedUrl -OutFile $chineseSimplifiedPath -ErrorAction Stop
79+ Write-Host "Downloaded language file to: $chineseSimplifiedPath"
80+ } else {
81+ Write-Host "Language file already exists: $chineseSimplifiedPath"
82+ }
83+
6784 - uses : ToQuery/wails3-build-action@v3-alpha.14
6885 with :
6986 go-archs : ${{ matrix.build.archs }}
You can’t perform that action at this time.
0 commit comments