reduce fastboot.js memory usage

This commit is contained in:
Daniel Micay 2022-12-15 18:59:59 -05:00
parent b9f25487c8
commit 198f43fa9d
8 changed files with 7 additions and 7 deletions

View File

@ -29,7 +29,7 @@
<link rel="license" href="/LICENSE.txt"/>
<link rel="me" href="https://grapheneos.social/@GrapheneOS"/>
{{js|/js/redirect.js}}
<script type="module" src="/js/fastboot/f270be49/fastboot.min.mjs" integrity="sha256-UOCvLjsBT6inovDMIH3bJIZ3mXvPZBKT7hh/XfB+HCQ="></script>
<script type="module" src="/js/fastboot/e7a94037/fastboot.min.mjs" integrity="sha256-l5KQ3c0JRVLsZM4FSGAhBFohiUXvo6ZWgUDdtORhXrY="></script>
{{js|/js/web-install.js}}
</head>
<body>
@ -99,7 +99,7 @@
<section id="prerequisites">
<h2><a href="#prerequisites">Prerequisites</a></h2>
<p>You should have at least 4GB of free memory available and 32GB of free storage
<p>You should have at least 2GB of free memory available and 32GB of free storage
space.</p>
<p>You need a USB cable for attaching the device to a laptop or desktop. Whenever

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

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