diff --git a/process_static b/process_static index d11e030a..ec4f7193 100755 --- a/process_static +++ b/process_static @@ -8,6 +8,7 @@ export PATH="$PWD/node_modules/.bin:$PATH" 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.0.9 for file in static_tmp/**/*.@(json|webmanifest); do json_reformat -m < "$file" | sponge "$file" diff --git a/static/install/web.html b/static/install/web.html index db9c2e4e..6df7d5d2 100644 --- a/static/install/web.html +++ b/static/install/web.html @@ -27,7 +27,7 @@ - + diff --git a/static/js/web-install.js b/static/js/web-install.js index c6b096d0..838dd6d6 100644 --- a/static/js/web-install.js +++ b/static/js/web-install.js @@ -1,6 +1,6 @@ // @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT -import * as fastboot from "./fastboot/dist/fastboot.min.mjs?1.0.9"; +import * as fastboot from "./fastboot/v1.0.9/fastboot.min.mjs"; const RELEASES_URL = "https://releases.grapheneos.org"; @@ -295,7 +295,7 @@ fastboot.setDebugLevel(2); fastboot.configureZip({ workerScripts: { - inflate: ["/js/fastboot/dist/vendor/z-worker-pako.js", "pako_inflate.min.js"], + inflate: ["/js/fastboot/v1.0.9/vendor/z-worker-pako.js", "pako_inflate.min.js"], }, });