Fully adj to 103 (no OSK yet)
This commit is contained in:
+1
-1
@@ -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" />
|
||||
|
||||
@@ -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
@@ -43,7 +43,7 @@ Index: EFB.js
|
||||
icon: Weight
|
||||
},
|
||||
- page: PayloadPage
|
||||
+ page: App
|
||||
+ page: window.KH_LM
|
||||
},
|
||||
"/perf": {
|
||||
button: {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user