Skip to content

Commit

Permalink
Handle children directories
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeChab committed Oct 31, 2023
1 parent 7f3a1b9 commit 80a91c7
Show file tree
Hide file tree
Showing 20 changed files with 3,234 additions and 6 deletions.
Binary file removed server/resources/compiler/linux/nwnsc
Binary file not shown.
Binary file added server/resources/compiler/mac/nwn_script_comp
Binary file not shown.
Binary file removed server/resources/compiler/mac/nwnsc
Binary file not shown.
3,228 changes: 3,228 additions & 0 deletions server/resources/compiler/windows/cacert.pem

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file added server/resources/compiler/windows/libcurl.dll
Binary file not shown.
Binary file not shown.
Binary file added server/resources/compiler/windows/libssl-1_1.dll
Binary file not shown.
Binary file not shown.
Binary file removed server/resources/compiler/windows/nwnsc.exe
Binary file not shown.
Binary file added server/resources/compiler/windows/pcre.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/pcre32.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/pcre64.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/pdcurses.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/pdcurses32.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/pdcurses64.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/sqlite3_32.dll
Binary file not shown.
Binary file added server/resources/compiler/windows/sqlite3_64.dll
Binary file not shown.
12 changes: 6 additions & 6 deletions server/src/Providers/DiagnosticsProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ export default class DiagnoticsProvider extends Provider {
case OS.linux:
return "../resources/compiler/linux/nwn_script_comp";
case OS.mac:
return "../resources/compiler/mac/nwnsc";
return "../resources/compiler/mac/nwn_script_comp";
case OS.windows:
return "../resources/compiler/windows/nwnsc.exe";
return "../resources/compiler/windows/nwn_script_comp.exe";
default:
return "";
}
Expand Down Expand Up @@ -114,10 +114,10 @@ export default class DiagnoticsProvider extends Provider {
} else if (verbose) {
this.server.logger.info("Trying to resolve Neverwinter Nights installation directory automatically.");
}
// if (children.length > 0) {
// args.push("-i");
// args.push(`"${[...new Set(uris.map((uri) => dirname(fileURLToPath(uri))))].join(";")}"`);
// }
if (children.length > 0) {
args.push("--dirs");
args.push(`"${[...new Set(uris.map((uri) => dirname(fileURLToPath(uri))))].join(",")}"`);
}
args.push("-c");
args.push(`"${fileURLToPath(uri)}"`);

Expand Down

0 comments on commit 80a91c7

Please sign in to comment.