Skip to content

Commit

Permalink
Ensure NativeMessagingHosts directory exists. Closes deanishe#3
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Feb 12, 2020
1 parent bda158d commit b74d8fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ func setup(force bool) error {
if err != nil {
return err
}

util.MustExist(filepath.Dir(manifestPath))
if err := ioutil.WriteFile(manifestPath, data, 0644); err != nil {
return err
}
Expand Down

0 comments on commit b74d8fd

Please sign in to comment.