use GrapheneOS fastboot.js fork
This commit is contained in:
parent
fc17535db0
commit
450b3048ce
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +0,0 @@
|
||||
[submodule "static/js/fastboot"]
|
||||
path = static/js/fastboot
|
||||
url = https://github.com/kdrag0n/fastboot.js
|
@ -30,8 +30,6 @@ cp -a nginx nginx-tmp
|
||||
|
||||
rm -rf static-tmp
|
||||
cp -a static static-tmp
|
||||
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.1.1
|
||||
|
||||
for file in static-tmp/**/*.@(json|webmanifest); do
|
||||
json_verify < "$file" >/dev/null
|
||||
|
@ -28,7 +28,7 @@
|
||||
<link rel="manifest" href="/manifest.webmanifest"/>
|
||||
<link rel="license" href="/LICENSE.txt"/>
|
||||
{{js|/js/redirect.js}}
|
||||
<script type="module" src="/js/fastboot/v1.1.1/fastboot.min.mjs" integrity="sha256-OXtHjW8CO7yw1L2Od6fGK7WVTCMl7Zghu24DZDNCBjI="></script>
|
||||
<script type="module" src="/js/fastboot/dfcb7800/fastboot.min.mjs" integrity="sha256-HJ9CCo8xOjAIvY5WWwG/5kOsq1KcDcYGzgy3jb2N2hE="></script>
|
||||
{{js|/js/web-install.js}}
|
||||
</head>
|
||||
<body>
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit 457f4564c30d8f251c92abd78371d2004c62fb8e
|
2
static/js/fastboot/dfcb7800/fastboot.min.mjs
Normal file
2
static/js/fastboot/dfcb7800/fastboot.min.mjs
Normal file
File diff suppressed because one or more lines are too long
1
static/js/fastboot/dfcb7800/fastboot.min.mjs.map
Normal file
1
static/js/fastboot/dfcb7800/fastboot.min.mjs.map
Normal file
File diff suppressed because one or more lines are too long
2
static/js/fastboot/dfcb7800/vendor/pako_inflate.min.js
vendored
Normal file
2
static/js/fastboot/dfcb7800/vendor/pako_inflate.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
static/js/fastboot/dfcb7800/vendor/z-worker-pako.js
vendored
Normal file
1
static/js/fastboot/dfcb7800/vendor/z-worker-pako.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT
|
||||
|
||||
import * as fastboot from "./fastboot/v1.1.1/fastboot.min.mjs";
|
||||
import * as fastboot from "./fastboot/dfcb7800/fastboot.min.mjs";
|
||||
|
||||
const RELEASES_URL = "https://releases.grapheneos.org";
|
||||
|
||||
@ -325,7 +325,7 @@ fastboot.setDebugLevel(2);
|
||||
|
||||
fastboot.configureZip({
|
||||
workerScripts: {
|
||||
inflate: ["/js/fastboot/v1.1.1/vendor/z-worker-pako.js", "pako_inflate.min.js"],
|
||||
inflate: ["/js/fastboot/dfcb7800/vendor/z-worker-pako.js", "pako_inflate.min.js"],
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user