Skip to content
This repository was archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Mark system apps as natively supported
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy committed Mar 28, 2021
1 parent 8ebc37f commit e11bf65
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/macapp/macapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ func checkApplication(dir string, f fs.FileInfo) Application {

app.Architectures, _ = localcheck.GetArchitectures(app.Path)

// mark system apps as natively supported
if strings.HasPrefix(dir, "/System/") {
app.ArmSupport = remotecheck.SupportNative
return app
}

info, err := remotecheck.GetInfo(app.Name)
if err == nil {
app.Website = info.Website
Expand Down

0 comments on commit e11bf65

Please sign in to comment.