mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
fix(shared): dont log browser start command
This commit is contained in:
@@ -7,7 +7,6 @@ import (
|
|||||||
"os/exec"
|
"os/exec"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
func OpenBrowserWindow(url string, fullscreen bool, temp bool) error {
|
func OpenBrowserWindow(url string, fullscreen bool, temp bool) error {
|
||||||
bins := []string{"chromium", "chromium-browser"}
|
bins := []string{"chromium", "chromium-browser"}
|
||||||
|
|
||||||
@@ -26,7 +25,6 @@ func OpenBrowserWindow(url string, fullscreen bool, temp bool) error {
|
|||||||
|
|
||||||
for _, bin := range bins {
|
for _, bin := range bins {
|
||||||
cmd := exec.Command(bin, args...)
|
cmd := exec.Command(bin, args...)
|
||||||
fmt.Println(cmd)
|
|
||||||
commandOutput := RunShellCommand(cmd)
|
commandOutput := RunShellCommand(cmd)
|
||||||
if commandOutput.ExitCode == 0 {
|
if commandOutput.ExitCode == 0 {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user