baseScriptContents method

Future<String> baseScriptContents()

Returns the contents of the base script, if it exists.

The base script is a script that is included with the package and can be used to customize the installation process.

Implementation

Future<String> baseScriptContents() async {
  if (!await baseScript.exists()) return '';

  return await baseScript.readAsString();
}