From 1fc510cfe2e7b944a69304bcd400ea0fb1718531 Mon Sep 17 00:00:00 2001 From: TaYaKi71751 Date: Tue, 1 Oct 2024 04:27:43 +0900 Subject: [PATCH] Use TaYaKi71751 --- .github/workflows/build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bcae6ff..fd17040 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,15 +13,14 @@ jobs: uses: subosito/flutter-action@main - name: Build run: | - $length = 128 - $characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'.ToCharArray() - $randomString = -join ((1..$length) | ForEach-Object { $characters | Get-Random }) + # $length = 128 + # $characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'.ToCharArray() + # $randomString = -join ((1..$length) | ForEach-Object { $characters | Get-Random }) + $randomString = "TaYaKi71751" $cert = New-SelfSignedCertificate -Type CodeSigning -Subject "CN=TaYaKi71751" -CertStoreLocation "Cert:\CurrentUser\My" $password = ConvertTo-SecureString -String "$randomString" -Force -AsPlainText Export-PfxCertificate -Cert $cert -FilePath "key.pfx" -Password $password - openssl pkcs12 -in key.pfx -clcerts -nokeys -out key.cer -passin pass:$randomString - flutter build windows flutter pub run msix:create --certificate-path key.pfx --certificate-password $randomString --install-certificate false