Skip to content

Commit

Permalink
Port changes to macos
Browse files Browse the repository at this point in the history
  • Loading branch information
Zensey committed Aug 7, 2023
1 parent b35f091 commit a0890f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion controller/docker/install_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (c *Controller) tryInstallDocker() {
c.lg.Println("Installation succeeded")

mdl.SwitchState(model.UIStateInstallFinished)
ok := ui.WaitDialogueComplete()
ok = ui.WaitDialogueComplete()
if ok == model.DLG_TERM {
c.wantExitCtl = true
return
Expand Down
4 changes: 3 additions & 1 deletion controller/native/utils_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ func CheckAndInstallFirewall() {}

func checkFirewallRules() bool {
return false
}
}

func CheckAndInstallFirewallRules() {}
6 changes: 5 additions & 1 deletion utils/utils_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,8 @@ func EnableAutorun(en bool) error {

func IsAdmin() bool {
return os.Getuid() == 0
}
}

func HideFile(path string, hide bool) (string, error) {
return path, nil
}

0 comments on commit a0890f9

Please sign in to comment.