1
0
Fork 1
mirror of https://github.com/zen-browser/desktop.git synced 2025-07-08 00:10:00 +02:00

fix(sign.ps1): append arm64 executable files to the list for signing

fix(download-language-packs.sh): remove carriage returns from supported languages file
This commit is contained in:
Mr. M 2025-04-13 22:42:26 +02:00
parent 394c2b54ce
commit 87124fdaf4
2 changed files with 5 additions and 4 deletions

View file

@ -45,7 +45,7 @@ mkdir engine\obj-x86_64-pc-windows-msvc\ -ErrorAction SilentlyContinue
$files = Get-ChildItem windsign-temp\windows-x64-obj-x86_64\ -Recurse -Include *.exe $files = Get-ChildItem windsign-temp\windows-x64-obj-x86_64\ -Recurse -Include *.exe
$files += Get-ChildItem windsign-temp\windows-x64-obj-x86_64\ -Recurse -Include *.dll $files += Get-ChildItem windsign-temp\windows-x64-obj-x86_64\ -Recurse -Include *.dll
$files = Get-ChildItem windsign-temp\windows-x64-obj-arm64\ -Recurse -Include *.exe $files += Get-ChildItem windsign-temp\windows-x64-obj-arm64\ -Recurse -Include *.exe
$files += Get-ChildItem windsign-temp\windows-x64-obj-arm64\ -Recurse -Include *.dll $files += Get-ChildItem windsign-temp\windows-x64-obj-arm64\ -Recurse -Include *.dll
signtool.exe sign /n "$SignIdentity" /t http://time.certum.pl/ /fd sha256 /v $files signtool.exe sign /n "$SignIdentity" /t http://time.certum.pl/ /fd sha256 /v $files

View file

@ -4,6 +4,10 @@ if ! [ -z "$ZEN_L10N_CURR_DIR" ]; then
cd $ZEN_L10N_CURR_DIR cd $ZEN_L10N_CURR_DIR
fi fi
# remove "\r" from ./l10n/supported-languages
# note: it's fine if it fails
sed -i 's/\r$//' ./l10n/supported-languages
CURRENT_DIR=$(pwd) CURRENT_DIR=$(pwd)
git config --global init.defaultBranch main git config --global init.defaultBranch main
@ -49,9 +53,6 @@ update_language() {
cd $CURRENT_DIR cd $CURRENT_DIR
} }
# remove "\r" from ./l10n/supported-languages
sed -i 's/\r$//' ./l10n/supported-languages
export PATH=~/tools/git-cinnabar:$PATH export PATH=~/tools/git-cinnabar:$PATH
for lang in $(cat ./l10n/supported-languages); do for lang in $(cat ./l10n/supported-languages); do
update_language $lang update_language $lang