mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-05 16:37:09 +00:00
+1
-1
@@ -17,7 +17,7 @@ import (
|
||||
)
|
||||
|
||||
func TakeScreenshot() (string, error) {
|
||||
tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.png", time.Now().Unix()))
|
||||
tempFilePath := filepath.Join(os.TempDir(), fmt.Sprintf("screenshot_%d.jpg", time.Now().Unix()))
|
||||
|
||||
cmds := []*exec.Cmd{
|
||||
exec.Command("gnome-screenshot", "-f", tempFilePath),
|
||||
|
||||
Reference in New Issue
Block a user