AppPath return path of app directory
(name string)
| 80 | |
| 81 | // AppPath return path of app directory |
| 82 | func AppPath(name string) (string, error) { |
| 83 | if name == "root" { |
| 84 | return filepath.Join(utils.GetExecutableDir(), "CustomApps"), nil |
| 85 | } |
| 86 | return utils.GetCustomAppPath(name) |
| 87 | } |
| 88 | |
| 89 | // AppAllPath returns paths of all apps |
| 90 | func AppAllPath() (string, error) { |
no test coverage detected