Skip to content

Commit

Permalink
bumping version to 1.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jul 13, 2020
1 parent ee233b0 commit 31846e9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.17
1.0.18
15 changes: 14 additions & 1 deletion file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,17 @@ func TestNewFatFile(t *testing.T) {
}

func TestNewFile(t *testing.T) {
f, err := os.Open("/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd")
// f, err := os.Open("/System/Library/PrivateFrameworks/PackageKit.framework/Resources/installd")
// f, err := os.Open("/Users/blacktop/Downloads/hello-mte-master/hello-mte")
// f, err := os.Open("/System/Library/PrivateFrameworks/ApplePushService.framework/apsd")
// f, err := os.Open("/Users/blacktop/Documents/GitHub/blacktop/ipsw/test-caches/iPhone12,5_D431AP_18A5301v/kernelcache.development")
// f, err := os.Open("/System/Applications/Utilities/Console.app/Contents/MacOS/Console")
// f, err := os.Open("/Users/blacktop/Documents/GitHub/blacktop/ipsw/test-caches/iPhone11,2_D321AP_18A5301v/usr/lib/libobjc.A.dylib")
// f, err := os.Open("/Users/blacktop/Documents/GitHub/blacktop/ipsw/test-caches/amfid")
// f, err := os.Open("./libobjc.A.dylib")
// f, err := os.Open("/Users/blacktop/Documents/GitHub/blacktop/ipsw/test-caches/iPhone10,4_D201AP_17D50/kernelcache.production")
// f, err := os.Open("/Applications/Safari.app/Contents/MacOS/Safari")
f, err := os.Open("/Users/blacktop/Documents/GitHub/blacktop/ipsw/test-caches/iPhone11,2_D321AP_18A5301v/System/Library/PrivateFrameworks/WebCore.framework/WebCore")
if err != nil {
t.Fatal(err)
}
Expand All @@ -447,6 +457,9 @@ func TestNewFile(t *testing.T) {
t.Errorf("NewFile() error = %v", err)
return
}
if got.CodeSignature() != nil {
fmt.Println(got.CodeSignature().Requirements[0].Detail)
}
fmt.Println(got.FileTOC.String())

if got.UUID().ID != "test" {
Expand Down

0 comments on commit 31846e9

Please sign in to comment.