xar unarchiver (.xar, .pkg, .xip)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

read archive filename from args

+3 -1
+3 -1
czar.cr
··· 160 160 files 161 161 end 162 162 163 - File.open "test.xar", "r" do |file| 163 + perror "no filename given" if ARGV.size == 0 164 + 165 + File.open ARGV.first, "r" do |file| 164 166 header = XARHeader.new 165 167 header.load file 166 168