mirror of
https://github.com/ThatNotEasy/PlayReadyProxy.git
synced 2026-04-06 20:48:50 +00:00
11 lines
313 B
JavaScript
11 lines
313 B
JavaScript
import { SettingsManager } from "../modules/util.js";
|
|
|
|
document
|
|
.getElementById("fileInput")
|
|
.addEventListener("change", async (event) => {
|
|
const file = event.target.files[0];
|
|
await SettingsManager.loadRemoteCDM(file).then(() => {
|
|
window.close();
|
|
});
|
|
});
|