Skip to content

Commit 80a91c7

Browse files
committed
Handle children directories
1 parent 7f3a1b9 commit 80a91c7

20 files changed

+3234
-6
lines changed

server/resources/compiler/linux/nwnsc

-9.94 MB
Binary file not shown.
2.19 MB
Binary file not shown.

server/resources/compiler/mac/nwnsc

-1.85 MB
Binary file not shown.

server/resources/compiler/windows/cacert.pem

Lines changed: 3228 additions & 0 deletions
Large diffs are not rendered by default.
Binary file not shown.
Binary file not shown.
264 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-869 KB
Binary file not shown.
289 KB
Binary file not shown.
507 KB
Binary file not shown.
514 KB
Binary file not shown.
138 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.83 MB
Binary file not shown.

server/src/Providers/DiagnosticsProvider.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ export default class DiagnoticsProvider extends Provider {
5454
case OS.linux:
5555
return "../resources/compiler/linux/nwn_script_comp";
5656
case OS.mac:
57-
return "../resources/compiler/mac/nwnsc";
57+
return "../resources/compiler/mac/nwn_script_comp";
5858
case OS.windows:
59-
return "../resources/compiler/windows/nwnsc.exe";
59+
return "../resources/compiler/windows/nwn_script_comp.exe";
6060
default:
6161
return "";
6262
}
@@ -114,10 +114,10 @@ export default class DiagnoticsProvider extends Provider {
114114
} else if (verbose) {
115115
this.server.logger.info("Trying to resolve Neverwinter Nights installation directory automatically.");
116116
}
117-
// if (children.length > 0) {
118-
// args.push("-i");
119-
// args.push(`"${[...new Set(uris.map((uri) => dirname(fileURLToPath(uri))))].join(";")}"`);
120-
// }
117+
if (children.length > 0) {
118+
args.push("--dirs");
119+
args.push(`"${[...new Set(uris.map((uri) => dirname(fileURLToPath(uri))))].join(",")}"`);
120+
}
121121
args.push("-c");
122122
args.push(`"${fileURLToPath(uri)}"`);
123123

0 commit comments

Comments
 (0)