mirror of
https://github.com/FoxRefire/wvg.git
synced 2024-12-21 10:27:55 +00:00
Refactor: put external libraries in libs
folder together
This commit is contained in:
parent
d7a39b2a38
commit
b5f06437b6
@ -3,7 +3,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>Widevine L3 Guessor 2024</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script src="pyodide/pyodide.js"></script>
|
||||
<script src="libs/pyodide/pyodide.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="toggleHistory">
|
||||
@ -83,7 +83,7 @@
|
||||
</body>
|
||||
<script src="popup.js" type="module"></script>
|
||||
<script src="popup_drawList.js"></script>
|
||||
<script src="jsonview.js"></script>
|
||||
<script src="libs/jsonview.js"></script>
|
||||
<script src="popup_showHistory.js"></script>
|
||||
<script src="popup_updateNotice.js"></script>
|
||||
</html>
|
||||
|
2
popup.js
2
popup.js
@ -11,7 +11,7 @@ async function guess(){
|
||||
|
||||
//Init Pyodide
|
||||
let pyodide = await loadPyodide();
|
||||
await pyodide.loadPackage(["certifi-2024.2.2-py3-none-any.whl","charset_normalizer-3.3.2-py3-none-any.whl","construct-2.8.8-py2.py3-none-any.whl","idna-3.6-py3-none-any.whl","packaging-23.2-py3-none-any.whl","protobuf-4.24.4-cp312-cp312-emscripten_3_1_52_wasm32.whl","pycryptodome-3.20.0-cp35-abi3-emscripten_3_1_52_wasm32.whl","pymp4-1.4.0-py3-none-any.whl","pyodide_http-0.2.1-py3-none-any.whl","pywidevine-1.8.0-py3-none-any.whl","requests-2.31.0-py3-none-any.whl","urllib3-2.2.1-py3-none-any.whl"].map(e=>"wheels/"+e))
|
||||
await pyodide.loadPackage(["certifi-2024.2.2-py3-none-any.whl","charset_normalizer-3.3.2-py3-none-any.whl","construct-2.8.8-py2.py3-none-any.whl","idna-3.6-py3-none-any.whl","packaging-23.2-py3-none-any.whl","protobuf-4.24.4-cp312-cp312-emscripten_3_1_52_wasm32.whl","pycryptodome-3.20.0-cp35-abi3-emscripten_3_1_52_wasm32.whl","pymp4-1.4.0-py3-none-any.whl","pyodide_http-0.2.1-py3-none-any.whl","pywidevine-1.8.0-py3-none-any.whl","requests-2.31.0-py3-none-any.whl","urllib3-2.2.1-py3-none-any.whl"].map(e=>"libs/wheels/"+e))
|
||||
|
||||
//Configure Guesser
|
||||
pyodide.globals.set("pssh", document.getElementById('pssh').value);
|
||||
|
Loading…
Reference in New Issue
Block a user