getTemplatePath method

SafePath getTemplatePath()

Return the general template path. Templates are saved here by default. It will be created if it does not exist. Relative to DistroPath.

e.g. C:\WSL2-Distros\templates

Implementation

SafePath getTemplatePath() {
  return getDistroPath()
    ..cdUp()
    ..cd('templates');
}