Skip to content

Commit

Permalink
feat: add ability to diff entitlements of folders in addition to IPSW…
Browse files Browse the repository at this point in the history
…s via `ipsw ent` command
  • Loading branch information
blacktop committed Nov 28, 2023
1 parent 645d5c9 commit 3140765
Show file tree
Hide file tree
Showing 4 changed files with 243 additions and 209 deletions.
2 changes: 1 addition & 1 deletion api/server/routes/ipsw/ipsw.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func getFsEntitlements(c *gin.Context) {
ipswPath := c.Query("path")
ipswPath = filepath.Clean(ipswPath)

ents, err := ent.GetDatabase(ipswPath, "")
ents, err := ent.GetDatabase(&ent.Config{IPSW: ipswPath})
if err != nil {
c.AbortWithStatusJSON(http.StatusInternalServerError, types.GenericError{Error: err.Error()})
return
Expand Down
Loading

0 comments on commit 3140765

Please sign in to comment.