sandyx 1 year ago
parent 991977e0d1
commit 81ab5d865e

@ -1,3 +0,0 @@
module dragon.ooo
go 1.21.4

@ -9,7 +9,6 @@ import (
"net/url"
"os"
"path/filepath"
"errors"
"os/exec"
"strings"
_ "embed"
@ -100,7 +99,9 @@ func main() {
fmt.Println(cmd)
cmd := exec.Command("./tncmd.sh", e.Name(), *directory)
dir, _ := filepath.Abs(*directory)
cmd := exec.Command("./tncmd.sh", filepath.Join(dir, e.Name()), "./thumbnails")
if err := cmd.Run(); err != nil {
log.Println(err)

Loading…
Cancel
Save