bundlePath static method

String bundlePath(
  1. String executable
)

The hidden bundle location for an executable.

Implementation

static String bundlePath(String executable) {
  var name = basename(executable);
  if (Platform.isWindows && name.toLowerCase().endsWith('.exe')) {
    name = name.substring(0, name.length - 4);
  }
  return join(dirname(executable), '.$name.bundle');
}