Adj. to 103
This commit is contained in:
+11
-8
@@ -1,13 +1,16 @@
|
||||
diff --git a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.html b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.html
|
||||
index a2e14f7..515e0d9 100644
|
||||
--- a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.html
|
||||
+++ b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.html
|
||||
@@ -7,4 +7,6 @@
|
||||
Index: EFB.html
|
||||
===================================================================
|
||||
--- EFB.html
|
||||
+++ EFB.html
|
||||
@@ -4,7 +4,9 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
|
||||
-<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/App.js" import-async="false"></script>
|
||||
|
||||
-<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/TFDi_MD11_efb/efb.css" />
|
||||
+<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.css" />
|
||||
+<link rel="stylesheet" href="/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/App.css" />
|
||||
-<script type="text/html" import-script="/Pages/VCockpit/Instruments/aircraft_efb/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.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>
|
||||
|
||||
+17
-11
@@ -1,9 +1,10 @@
|
||||
diff --git a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
|
||||
index 0904cc9..d2bcd02 100644
|
||||
--- a/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
|
||||
+++ b/PackageSources/html_ui/Pages/VCockpit/Instruments/aircraft_efb/KH_TFDi_MD11_efb/efb.js
|
||||
@@ -42333,9 +42333,16 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
||||
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
||||
Index: EFB.js
|
||||
===================================================================
|
||||
--- EFB.js
|
||||
+++ EFB.js
|
||||
@@ -40035,11 +40035,18 @@
|
||||
),
|
||||
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
||||
"button",
|
||||
{
|
||||
- onClick: loadPayload,
|
||||
@@ -20,8 +21,10 @@ index 0904cc9..d2bcd02 100644
|
||||
+ children: "Manage payload & fuel"
|
||||
}
|
||||
),
|
||||
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
||||
@@ -42842,6 +42849,11 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
||||
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
||||
"button",
|
||||
@@ -40537,8 +40544,13 @@
|
||||
] })
|
||||
] }) }) });
|
||||
}
|
||||
|
||||
@@ -32,13 +35,16 @@ index 0904cc9..d2bcd02 100644
|
||||
+
|
||||
// src/components/Router.tsx
|
||||
init_common();
|
||||
var import_jsx_runtime14 = __toESM(require_jsx_runtime());
|
||||
@@ -42858,7 +42870,7 @@ Take a look at the reducer(s) handling this action type: ${action.type}.
|
||||
var import_jsx_runtime15 = __toESM(require_jsx_runtime());
|
||||
var routes = {
|
||||
@@ -40553,9 +40565,9 @@
|
||||
button: {
|
||||
title: "Payload",
|
||||
icon: faWeightHanging
|
||||
icon: Weight
|
||||
},
|
||||
- page: PayloadPage
|
||||
+ page: App
|
||||
},
|
||||
"/perf": {
|
||||
button: {
|
||||
title: "Perf",
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
const { createTwoFilesPatch } = require("diff");
|
||||
const fs = require("fs");
|
||||
|
||||
// HTML
|
||||
|
||||
let file1Contents = fs.readFileSync("EFB.html").toString();
|
||||
let file2Contents = fs.readFileSync("patched/EFB.html").toString();
|
||||
let patch = createTwoFilesPatch(
|
||||
"EFB.html",
|
||||
"EFB.html",
|
||||
file1Contents,
|
||||
file2Contents
|
||||
);
|
||||
fs.writeFileSync("efb-html.patch", patch);
|
||||
|
||||
// JS
|
||||
|
||||
file1Contents = fs.readFileSync("EFB.js").toString();
|
||||
file2Contents = fs.readFileSync("patched/EFB.js").toString();
|
||||
patch = createTwoFilesPatch("EFB.js", "EFB.js", file1Contents, file2Contents);
|
||||
fs.writeFileSync("efb-js.patch", patch);
|
||||
Reference in New Issue
Block a user