update fastboot.js to v1.1.1

This commit is contained in:
Daniel Micay 2021-11-27 01:24:39 -05:00
parent 5eba127ba7
commit a1a56d1ad2
4 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ cp -a nginx nginx-tmp
rm -rf static-tmp rm -rf static-tmp
cp -a static static-tmp cp -a static static-tmp
rm -rf static-tmp/js/fastboot/{!(dist),dist/!(fastboot.min.mjs|fastboot.min.mjs.map|vendor)} rm -rf static-tmp/js/fastboot/{!(dist),dist/!(fastboot.min.mjs|fastboot.min.mjs.map|vendor)}
mv static-tmp/js/fastboot/dist static-tmp/js/fastboot/v1.0.9 mv static-tmp/js/fastboot/dist static-tmp/js/fastboot/v1.1.1
for file in static-tmp/**/*.@(json|webmanifest); do for file in static-tmp/**/*.@(json|webmanifest); do
json_verify < "$file" >/dev/null json_verify < "$file" >/dev/null

View File

@ -28,7 +28,7 @@
<link rel="manifest" href="/manifest.webmanifest"/> <link rel="manifest" href="/manifest.webmanifest"/>
<link rel="license" href="/LICENSE.txt"/> <link rel="license" href="/LICENSE.txt"/>
{{js|/js/redirect.js}} {{js|/js/redirect.js}}
<script type="module" src="/js/fastboot/v1.0.9/fastboot.min.mjs" integrity="sha256-RdCzNzJ/6uwsrihAqAHMP0J6nwQMJcEbB7+dRrfO6Gs="></script> <script type="module" src="/js/fastboot/v1.1.1/fastboot.min.mjs" integrity="sha256-OXtHjW8CO7yw1L2Od6fGK7WVTCMl7Zghu24DZDNCBjI="></script>
{{js|/js/web-install.js}} {{js|/js/web-install.js}}
</head> </head>
<body> <body>

@ -1 +1 @@
Subproject commit ea059502628b6fcaa55f4008a50398b4dc0ef370 Subproject commit 457f4564c30d8f251c92abd78371d2004c62fb8e

View File

@ -1,6 +1,6 @@
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT // @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
import * as fastboot from "./fastboot/v1.0.9/fastboot.min.mjs"; import * as fastboot from "./fastboot/v1.1.1/fastboot.min.mjs";
const RELEASES_URL = "https://releases.grapheneos.org"; const RELEASES_URL = "https://releases.grapheneos.org";
@ -304,7 +304,7 @@ fastboot.setDebugLevel(2);
fastboot.configureZip({ fastboot.configureZip({
workerScripts: { workerScripts: {
inflate: ["/js/fastboot/v1.0.9/vendor/z-worker-pako.js", "pako_inflate.min.js"], inflate: ["/js/fastboot/v1.1.1/vendor/z-worker-pako.js", "pako_inflate.min.js"],
}, },
}); });