EXtremeZip 2021.8.23 → 2021.8.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/extremeunzip.zzaqsu.rb +8 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d29d30db28b094a5a35df0c023cb36a4100f155180752252163d7a83cf2a588
|
4
|
+
data.tar.gz: 7d88ac0764c25e07ea252df74f0df7e77d58bec63ffcee489d821b92197f0aa1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5213098eca531286fa1e6268d668c1e6a39ea79d4489cbd0f2733572542d2eec18ed55d7048e686028ae1bfacbe8eb9be1bd62f36ce4dd147eb46dd22873c49
|
7
|
+
data.tar.gz: 2d49c941b4e8e434d426e0a7d5cdeaf81c8b0d4f7c521bf93e31a248738b9d1ca057132152d8b42ff76a3bcc761f429c947eb48842b887f628212435533cfde7
|
data/lib/extremeunzip.zzaqsu.rb
CHANGED
@@ -42,14 +42,19 @@ def extractVfsDataWithVersionExternalFile(wholeCbor, fileVersion)
|
|
42
42
|
puts("data block counter: #{dataBlockCounter}") # Debug
|
43
43
|
checkMemoryUsage(34)
|
44
44
|
|
45
|
-
|
45
|
+
begin # 解压
|
46
|
+
currentRawData = LZMA.decompress(currentCompressed) # 解压这一块
|
47
|
+
|
46
48
|
|
47
|
-
|
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|
|