Skip to content

Commit

Permalink
Fix polyglotGet for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Feb 16, 2024
1 parent 7cb9c77 commit 5f54b2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void main(final String[] arguments) throws RuntimeException {
@Override
protected List<String> preprocessArguments(final List<String> arguments, final Map<String, String> polyglotOptions) {
final String launcherName = System.getProperty("org.graalvm.launcher.executablename", "trufflesqueak");
if (launcherName.endsWith("trufflesqueak-polyglot-get")) {
if (launcherName.endsWith("trufflesqueak-polyglot-get") || launcherName.endsWith("trufflesqueak-polyglot-get.exe")) {
if (isAOT()) {
throw abort("trufflesqueak-polyglot-get is not available in a native standalone. Please try again with a JVM standalone of TruffleSqueak.");
} else {
Expand Down

0 comments on commit 5f54b2e

Please sign in to comment.