bundle method

Future<String> bundle()

Implementation

Future<String> bundle() async {
  await Directory(releaseFolder).create(recursive: true);
  final executablePath = await build();
  if (Platform.isLinux || Platform.isWindows || Platform.isMacOS) {
    return await _bundleBash(executablePath: executablePath);
  } else {
    throw UnsupportedError(
        'Platform ${Platform.operatingSystem} is not supported yet! We are open for contributions!');
  }
}