From c5d337640a70e5433c3009ff22335bb14db2ee7f Mon Sep 17 00:00:00 2001 From: Tw93 Date: Thu, 20 Jul 2023 22:33:27 +0800 Subject: [PATCH] :bug: Fix windows --- script/build.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/build.ps1 b/script/build.ps1 index 9c951a6..5fa9c46 100644 --- a/script/build.ps1 +++ b/script/build.ps1 @@ -38,7 +38,8 @@ $total = $total - 1 # for windows, we need replace package name to title ForEach ($line in (Get-Content -Path .\app.csv | Select-Object -Skip 1)) { - $name, $title, $name_zh, $url = $line.Split(","), $domain = ([Uri]$url).Host + $name, $title, $name_zh, $url = $line.Split(",") + $domain = ([Uri]$url).Host Write-Host "building package ${index}/${total}" Write-Host "package name is ${name} ${name_zh}" Write-Host "=========================="