Skip to content

Commit 951d9cb

Browse files
committed
Fix compatibility validation on Linux
1 parent 2283eb1 commit 951d9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ class generatorViewModel {
564564
}
565565

566566
if (self._SupportsLinux()) {
567-
if (self._LinuxExecutableName() == "") { failure("Linux is listed as a supported platform, but no executable for this platform was specified.", "Specify an executable for this platform under 'Startup and Shutdown'"); }
567+
if (self._LinuxExecutableName() == "" && self._compatibility() == "None") { failure("Linux is listed as a supported platform, but no executable for this platform was specified.", "Specify an executable for this platform under 'Startup and Shutdown'"); }
568568
else if (self._LinuxExecutableName().toLowerCase().endsWith(".sh")) { failure("You can only start executables files from AMP. Do not attempt to use shell scripts or other file types.", "Change your Linux Executable under Startup and Shutdown to be an actual executable rather than a script."); }
569569
}
570570

0 commit comments

Comments
 (0)