PlatformSetup: specify that absolute path is required for config values

This commit is contained in:
Josh Tynjala
2024-11-13 11:11:07 -08:00
parent 68f531eaba
commit 4e56bd9bf2

View File

@@ -578,7 +578,7 @@ class PlatformSetup
Log.println("download and extract the Adobe AIR SDK.");
Log.println("");
getDefineValue("AIR_SDK", "Path to AIR SDK");
getDefineValue("AIR_SDK", "Absolute path to AIR SDK");
Log.println("");
Log.println("Setup complete.");
@@ -593,12 +593,12 @@ class PlatformSetup
Log.println("the SDK manager from Android Studio.\x1b[0m");
Log.println("");
getDefineValue("ANDROID_SDK", "Path to Android SDK");
getDefineValue("ANDROID_NDK_ROOT", "Path to Android NDK");
getDefineValue("ANDROID_SDK", "Absolute path to Android SDK");
getDefineValue("ANDROID_NDK_ROOT", "Absolute path to Android NDK");
if (System.hostPlatform != MAC)
{
getDefineValue("JAVA_HOME", "Path to Java JDK");
getDefineValue("JAVA_HOME", "Absolute path to Java JDK");
}
if (ConfigHelper.getConfigValue("ANDROID_SETUP") == null)
@@ -616,7 +616,7 @@ class PlatformSetup
Log.println("and extract the Electron runtime on your system.");
Log.println("");
getDefineValue("ELECTRON_PATH", "Path to Electron runtime");
getDefineValue("ELECTRON_PATH", "Absolute path to Electron runtime");
Log.println("");
Haxelib.runCommand("", ["install", "electron"], true, true);
@@ -1213,7 +1213,7 @@ class PlatformSetup
Log.println("After install, the SDK path may be at \"emsdk/upstream/emscripten\"");
Log.println("");
getDefineValue("EMSCRIPTEN_SDK", "Path to Emscripten SDK");
getDefineValue("EMSCRIPTEN_SDK", "Absolute path to Emscripten SDK");
Log.println("");
Log.println("Setup complete.");
@@ -1239,7 +1239,7 @@ class PlatformSetup
public static function setupHL():Void
{
getDefineValue("HL_PATH", "Path to a custom version of Hashlink. Leave empty to use lime's default version.");
getDefineValue("HL_PATH", "Absolute path to a custom version of Hashlink. Leave empty to use lime's default version.");
if (System.hostPlatform == MAC)
{
Log.println("To use the hashlink debugger on macOS, the hl executable needs to be signed.");