EXtremeZip 2021.8.23 → 2021.8.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/extremeunzip.zzaqsu.rb +8 -3
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62509143b66d20f0707de3e4b485c426921d088d7a1e4e45de2ffe8090cca954
4
- data.tar.gz: ceddfc836bcf5e0ba9c9e5cab1e298355ab086194524e2f3bea1fc181c0ea29e
3
+ metadata.gz: 8d29d30db28b094a5a35df0c023cb36a4100f155180752252163d7a83cf2a588
4
+ data.tar.gz: 7d88ac0764c25e07ea252df74f0df7e77d58bec63ffcee489d821b92197f0aa1
5
5
  SHA512:
6
- metadata.gz: a931418bc8d6f8a2878495f29a6da14693a0cd27999a9fe0602477b8027a6e33cd9e14d64c7673e85449afa1ffa25e4943e9b5360b6c3384099246fa6cbc9878
7
- data.tar.gz: 41988349fe549f2a7b5dadb6f5a9edb584778ec78889896054e42a0c114199429add71a07cbaf0772567d2a9c22620aaa60f1484a60bf020c5842b4621cd4b2d
6
+ metadata.gz: d5213098eca531286fa1e6268d668c1e6a39ea79d4489cbd0f2733572542d2eec18ed55d7048e686028ae1bfacbe8eb9be1bd62f36ce4dd147eb46dd22873c49
7
+ data.tar.gz: 2d49c941b4e8e434d426e0a7d5cdeaf81c8b0d4f7c521bf93e31a248738b9d1ca057132152d8b42ff76a3bcc761f429c947eb48842b887f628212435533cfde7
@@ -42,14 +42,19 @@ def extractVfsDataWithVersionExternalFile(wholeCbor, fileVersion)
42
42
  puts("data block counter: #{dataBlockCounter}") # Debug
43
43
  checkMemoryUsage(34)
44
44
 
45
- currentRawData = LZMA.decompress(currentCompressed) # 解压这一块
45
+ begin # 解压
46
+ currentRawData = LZMA.decompress(currentCompressed) # 解压这一块
47
+
46
48
 
47
- dataFile.syswrite(currentRawData) # 写入内容
49
+ dataFile.syswrite(currentRawData) # 写入内容
50
+ rescue RuntimeError => e # 解压失败
51
+ puts "Warning: the exz file may be incomplete." # 报告错误。文件可能不完整。
52
+ end # begin # 解压
48
53
 
49
54
  # victoriaFreshData=victoriaFreshData+currentRawData #追加
50
55
  # victoriaFreshData << currentRawData #追加
51
56
 
52
- puts("byte size: #{victoriaFreshData.bytesize}") # debug.
57
+ #puts("byte size: #{victoriaFreshData.bytesize}") # debug.
53
58
 
54
59
  dataBlockCounter += 1 # count
55
60
  end # compressedVfsDataList.each do |currentCompressed|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EXtremeZip
3
3
  version: !ruby/object:Gem::Version
4
- version: 2021.8.23
4
+ version: 2021.8.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai