mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-17 13:47:21 +00:00
refactor: change cache address to dl.google.com
This commit is contained in:
parent
7e74c9c42a
commit
0aa5b66f67
1 changed files with 8 additions and 8 deletions
16
build.sh
16
build.sh
|
|
@ -25,7 +25,7 @@ stable32_file=$(sed -n '11p' ./tmp/chrome_xml_parser_result.txt)
|
|||
stable32_size_raw=$(sed -n '12p' ./tmp/chrome_xml_parser_result.txt)
|
||||
stable32_dl="https://"${stable32_dl_base}${stable32_file}
|
||||
stable32_dl_alt="https://"${stable32_dl_alt_base}${stable32_file}
|
||||
stable32_dl_cache=${cache}${stable32_dl_alt_base}${stable32_file}
|
||||
stable32_dl_cache=${cache}${stable32_dl_base}${stable32_file}
|
||||
stable32_size=$(awk 'BEGIN{printf "%.3f",('$stable32_size_raw'/'1048576')}')" MB"
|
||||
|
||||
stable64_version=$(sed -n '15p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -36,7 +36,7 @@ stable64_file=$(sed -n '21p' ./tmp/chrome_xml_parser_result.txt)
|
|||
stable64_size_raw=$(sed -n '22p' ./tmp/chrome_xml_parser_result.txt)
|
||||
stable64_dl="https://"${stable64_dl_base}${stable64_file}
|
||||
stable64_dl_alt="https://"${stable64_dl_alt_base}${stable64_file}
|
||||
stable64_dl_cache=${cache}${stable64_dl_alt_base}${stable64_file}
|
||||
stable64_dl_cache=${cache}${stable64_dl_base}${stable64_file}
|
||||
stable64_size=$(awk 'BEGIN{printf "%.3f",('$stable64_size_raw'/'1048576')}')" MB"
|
||||
|
||||
beta32_version=$(sed -n '25p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -47,7 +47,7 @@ beta32_file=$(sed -n '31p' ./tmp/chrome_xml_parser_result.txt)
|
|||
beta32_size_raw=$(sed -n '32p' ./tmp/chrome_xml_parser_result.txt)
|
||||
beta32_dl="https://"${beta32_dl_base}${beta32_file}
|
||||
beta32_dl_alt="https://"${beta32_dl_alt_base}${beta32_file}
|
||||
beta32_dl_cache=${cache}${beta32_dl_alt_base}${beta32_file}
|
||||
beta32_dl_cache=${cache}${beta32_dl_base}${beta32_file}
|
||||
beta32_size=$(awk 'BEGIN{printf "%.3f",('$beta32_size_raw'/'1048576')}')" MB"
|
||||
|
||||
beta64_version=$(sed -n '35p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -58,7 +58,7 @@ beta64_file=$(sed -n '41p' ./tmp/chrome_xml_parser_result.txt)
|
|||
beta64_size_raw=$(sed -n '42p' ./tmp/chrome_xml_parser_result.txt)
|
||||
beta64_dl="https://"${beta64_dl_base}${beta64_file}
|
||||
beta64_dl_alt="https://"${beta64_dl_alt_base}${beta64_file}
|
||||
beta64_dl_cache=${cache}${beta64_dl_alt_base}${beta64_file}
|
||||
beta64_dl_cache=${cache}${beta64_dl_base}${beta64_file}
|
||||
beta64_size=$(awk 'BEGIN{printf "%.3f",('$beta64_size_raw'/'1048576')}')" MB"
|
||||
|
||||
dev32_version=$(sed -n '45p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -69,7 +69,7 @@ dev32_file=$(sed -n '21p' ./tmp/chrome_xml_parser_result.txt)
|
|||
dev32_size_raw=$(sed -n '22p' ./tmp/chrome_xml_parser_result.txt)
|
||||
dev32_dl="https://"${dev32_dl_base}${dev32_file}
|
||||
dev32_dl_alt="https://"${dev32_dl_alt_base}${dev32_file}
|
||||
dev32_dl_cache=${cache}${dev32_dl_alt_base}${dev32_file}
|
||||
dev32_dl_cache=${cache}${dev32_dl_base}${dev32_file}
|
||||
dev32_size=$(awk 'BEGIN{printf "%.3f",('$dev32_size_raw'/'1048576')}')" MB"
|
||||
|
||||
dev64_version=$(sed -n '55p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -80,7 +80,7 @@ dev64_file=$(sed -n '61p' ./tmp/chrome_xml_parser_result.txt)
|
|||
dev64_size_raw=$(sed -n '62p' ./tmp/chrome_xml_parser_result.txt)
|
||||
dev64_dl="https://"${dev64_dl_base}${dev64_file}
|
||||
dev64_dl_alt="https://"${dev64_dl_alt_base}${dev64_file}
|
||||
dev64_dl_cache=${cache}${dev64_dl_alt_base}${dev64_file}
|
||||
dev64_dl_cache=${cache}${dev64_dl_base}${dev64_file}
|
||||
dev64_size=$(awk 'BEGIN{printf "%.3f",('$dev64_size_raw'/'1048576')}')" MB"
|
||||
|
||||
canary32_version=$(sed -n '65p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -91,7 +91,7 @@ canary32_file=$(sed -n '71p' ./tmp/chrome_xml_parser_result.txt)
|
|||
canary32_size_raw=$(sed -n '72p' ./tmp/chrome_xml_parser_result.txt)
|
||||
canary32_dl="https://"${canary32_dl_base}${canary32_file}
|
||||
canary32_dl_alt="https://"${canary32_dl_alt_base}${canary32_file}
|
||||
canary32_dl_cache=${cache}${canary32_dl_alt_base}${canary32_file}
|
||||
canary32_dl_cache=${cache}${canary32_dl_base}${canary32_file}
|
||||
canary32_size=$(awk 'BEGIN{printf "%.3f",('$canary32_size_raw'/'1048576')}')" MB"
|
||||
|
||||
canary64_version=$(sed -n '75p' ./tmp/chrome_xml_parser_result.txt)
|
||||
|
|
@ -102,7 +102,7 @@ canary64_file=$(sed -n '81p' ./tmp/chrome_xml_parser_result.txt)
|
|||
canary64_size_raw=$(sed -n '82p' ./tmp/chrome_xml_parser_result.txt)
|
||||
canary64_dl="https://"${canary64_dl_base}${canary64_file}
|
||||
canary64_dl_alt="https://"${canary64_dl_alt_base}${canary64_file}
|
||||
canary64_dl_cache=${cache}${canary64_dl_alt_base}${canary64_file}
|
||||
canary64_dl_cache=${cache}${canary64_dl_base}${canary64_file}
|
||||
canary64_size=$(awk 'BEGIN{printf "%.3f",('$canary64_size_raw'/'1048576')}')" MB"
|
||||
|
||||
cp -rf src/index.html tmp/index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue