We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb209ea commit b6a7209Copy full SHA for b6a7209
src/main/index.ts
@@ -14,10 +14,12 @@ DCS?.setUserCallbacks({
14
onSimulationStart() {
15
logger.info("Simulation Started");
16
17
+ logger.info("Starting DCS Fiddle Mission Server");
18
const fiddleFile = `${lfs.writedir()}\\Scripts\\dcs-fiddle-mission.lua`;
19
+ const [result] = string.gsub(fiddleFile, "\\", "/");
20
const fiddleFileCommand = string.format(
21
`a_do_script("dofile('%s')")`,
- string.gsub(fiddleFile, "\\", "/"),
22
+ result,
23
);
24
log.info(`Loading fiddle mission from ${fiddleFileCommand}`);
25
@@ -30,4 +32,4 @@ DCS?.setUserCallbacks({
30
32
31
33
logger.info(
34
`DCS Fiddle Listening on http://${config.bindAddress}:${config.port}/`,
-);
35
+);
0 commit comments