use GrapheneOS fastboot.js fork
This commit is contained in:
@@ -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
|
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)}
|
|
||||||
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
|
||||||
|
|||||||
@@ -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.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}}
|
{{js|/js/web-install.js}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Submodule static/js/fastboot deleted from 457f4564c3
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
@@ -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.1.1/fastboot.min.mjs";
|
import * as fastboot from "./fastboot/dfcb7800/fastboot.min.mjs";
|
||||||
|
|
||||||
const RELEASES_URL = "https://releases.grapheneos.org";
|
const RELEASES_URL = "https://releases.grapheneos.org";
|
||||||
|
|
||||||
@@ -325,7 +325,7 @@ fastboot.setDebugLevel(2);
|
|||||||
|
|
||||||
fastboot.configureZip({
|
fastboot.configureZip({
|
||||||
workerScripts: {
|
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"],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user