From d96cfeb7f64304a0dbb6b87049a6d526392da19a Mon Sep 17 00:00:00 2001 From: TaYaKi71751 Date: Wed, 23 Oct 2024 14:22:18 +0900 Subject: [PATCH] Fix to use UTF8 --- .github/workflows/violet-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/violet-build.yml b/.github/workflows/violet-build.yml index 086f48933..7f5af1c8b 100644 --- a/.github/workflows/violet-build.yml +++ b/.github/workflows/violet-build.yml @@ -203,14 +203,14 @@ jobs: try { Invoke-WebRequest -Uri $secretSaltUrl -UseBasicParsing -OutFile "salt.dart" } catch { - "String getValid(String vToken) { return vToken; }" | Out-File -FilePath "salt.dart" + "String getValid(String vToken) { return vToken; }" | Out-File -Encoding "UTF8" -FilePath "salt.dart" } # Try downloading SECRET_WSALT try { Invoke-WebRequest -Uri $secretWSaltUrl -UseBasicParsing -OutFile "wsalt.dart" } catch { - "String getValid(String vToken) { return vToken; }" | Out-File -FilePath "wsalt.dart" + "String getValid(String vToken) { return vToken; }" | Out-File -Encoding "UTF8" -FilePath "wsalt.dart" } cd ../..