Skip to content

Commit

Permalink
fix terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
Labfox committed Jan 30, 2025
1 parent bc18282 commit 66a2b3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktopFiles/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ func ExecuteDesktopFile(dfile DesktopFile, urls []string, loc string) error {
// Execute the command
var cmd *exec.Cmd
if dfile.ApplicationObject.Terminal {
args = []string{"-c", pathExecutable}
args = []string{"-e", strings.Join([]string{"\"", pathExecutable, "\""}, "")}
args = append(args, arguments...)
cmd = exec.Command("bash", args...)
cmd = exec.Command("alacritty", args...)
} else {
cmd = exec.Command(pathExecutable, arguments...)
}
Expand Down

0 comments on commit 66a2b3e

Please sign in to comment.