getReleasePath method

  1. @override
String getReleasePath()
override

Implementation

@override
String getReleasePath() {
  String macosexePath = Platform.resolvedExecutable;
    var pathArr = macosexePath.split(Platform.isMacOS ? '/' : '\\');
    var dirpath = pathArr.sublist(0, pathArr.length - 1).join(Platform.isMacOS ? '/' : '\\');
  String path = join(
    dirpath,
    'data',
    'flutter_assets',
    'packages',
    'tencent_im_sdk_plugin_desktop',
    'assets',
  );
  return normalize(path);
}