getBinaryName function

String getBinaryName(
  1. String platform
)

Get the binary name for the platform.

Implementation

String getBinaryName(String platform) {
  return platform.startsWith('win32') ? 'neomage.exe' : 'neomage';
}