Fully adj to 103 (no OSK yet)

This commit is contained in:
2025-11-07 16:11:17 +01:00
parent 5ad5f16bdb
commit 9432dd1d84
7 changed files with 42 additions and 15 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Index: EFB.html
-<script type="text/html" import-async="false" import-script="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.index.js"></script>
+<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js" import-async="false"></script>
+<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.index.js" import-async="false"></script>
+<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/App.js" import-async="false"></script>
-<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.css" />
+15
View File
@@ -0,0 +1,15 @@
Index: EFB.index.js
===================================================================
--- EFB.index.js
+++ EFB.index.js
@@ -27,9 +27,9 @@
}
connectedCallback() {
super.connectedCallback();
- Include.addScript("/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.js");
+ Include.addScript("/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js");
}
Update() {
super.Update();
+1 -1
View File
@@ -43,7 +43,7 @@ Index: EFB.js
icon: Weight
},
- page: PayloadPage
+ page: App
+ page: window.KH_LM
},
"/perf": {
button: {
+5
View File
@@ -15,6 +15,11 @@ fs.writeFileSync("efb-html.patch", patch);
// JS
file1Contents = fs.readFileSync("EFB.index.js").toString();
file2Contents = fs.readFileSync("patched/EFB.index.js").toString();
patch = createTwoFilesPatch("EFB.index.js", "EFB.index.js", file1Contents, file2Contents);
fs.writeFileSync("efb-index-js.patch", patch);
file1Contents = fs.readFileSync("EFB.js").toString();
file2Contents = fs.readFileSync("patched/EFB.js").toString();
patch = createTwoFilesPatch("EFB.js", "EFB.js", file1Contents, file2Contents);