From ed48c4d2de6216748624ff00332012333c3d2524 Mon Sep 17 00:00:00 2001 From: dutchie031 Date: Sat, 15 Aug 2026 16:38:06 +0200 Subject: [PATCH] updated dev script --- compiler/src/ScriptCompiler.ts | 2 +- dutchies-dcs-scripting-tools/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/ScriptCompiler.ts b/compiler/src/ScriptCompiler.ts index 556f954..8f77b2c 100644 --- a/compiler/src/ScriptCompiler.ts +++ b/compiler/src/ScriptCompiler.ts @@ -412,7 +412,7 @@ class Writer { `-- This script can be referenced in DCS. Compiled script will then be loaded dynamically.`, `-- This way you can test the compiled output without having to re-import the script into the mission every time.`, `-- This file will only have to be re-imported when the name or location of the compiled script file changes.`, - `assert(loadfile("${actualFileLocation}"))()` + `assert(loadfile([[${actualFileLocation}]]))()` ]; fs.writeFileSync(devFileLocation, devLines.join('\n'), 'utf-8'); this.logger.info(`Development script written to ${devFileLocation}`); diff --git a/dutchies-dcs-scripting-tools/package.json b/dutchies-dcs-scripting-tools/package.json index 33790d9..a3a0ebf 100644 --- a/dutchies-dcs-scripting-tools/package.json +++ b/dutchies-dcs-scripting-tools/package.json @@ -2,7 +2,7 @@ "name": "dutchies-dcs-scripting-tools", "displayName": "Dutchies Dcs Scripting Tools", "description": "Scripting tools to create DCS script and frameworks easier", - "version": "0.0.3", + "version": "0.0.5", "author": { "name": "dutchie031", "email": "54616262+dutchie031@users.noreply.github.com"