Implement deleting real actual files

This commit is contained in:
2024-09-11 19:29:52 +02:00
parent ff1af19088
commit fc59878389
2 changed files with 26 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ func FileExists(path string) bool {
func NormalizePath(input string) string {
workingdirectory, _ := os.Getwd()
input = strings.ReplaceAll(input, "\\", "/")
input = filepath.ToSlash(input)
input = strings.ReplaceAll(input, "\"", "")
if !filepath.IsAbs(input) {