From c0382d6657107c155847d949802587be60bd9660 Mon Sep 17 00:00:00 2001 From: grimsace Date: Wed, 11 Mar 2026 15:00:29 -0500 Subject: [PATCH] slight change to make presets work in both linux and windows --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index b612a23..51398f2 100644 --- a/main.go +++ b/main.go @@ -17,6 +17,7 @@ import ( "io/fs" "log" "os" + "path" "path/filepath" "sort" "strconv" @@ -95,7 +96,7 @@ func listEmbeddedPresets() ([]presetEntry, error) { displayName := strings.TrimSuffix(name, filepath.Ext(name)) presets = append(presets, presetEntry{ Name: displayName, - Path: filepath.Join("Presets", name), + Path: path.Join("Presets", name), }) } sort.Slice(presets, func(i, j int) bool {