Skip to content

Commit

Permalink
Fix compatibility validation on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
IceOfWraith committed Dec 3, 2024
1 parent 2283eb1 commit 951d9cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ class generatorViewModel {
}

if (self._SupportsLinux()) {
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'"); }
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'"); }
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."); }
}

Expand Down

0 comments on commit 951d9cb

Please sign in to comment.