fix(display): deprecated libreoffice api

This commit is contained in:
2025-11-28 22:38:46 +01:00
parent 54902357b0
commit 84c01d791a
+1 -1
View File
@@ -48,7 +48,7 @@ func GetDeviceMac() (string, error) {
}
func OpenPresentation(path string) error {
cmd := exec.Command("bash", "-c", "-r", fmt.Sprintf("soffice --show %s -nologo -norestore", path))
cmd := exec.Command("soffice", "--show", path, "--nologo", "--norestore")
result := shared.RunShellCommand(cmd)
if result.ExitCode != 0 {
return errors.New(result.Stderr)