Compare commits
2 Commits
8f09882470
...
a5cc2e1230
Author | SHA1 | Date | |
---|---|---|---|
a5cc2e1230 | |||
35fde207f6 |
@ -21,7 +21,7 @@
|
|||||||
"@chakra-ui/react": "^2.7.0",
|
"@chakra-ui/react": "^2.7.0",
|
||||||
"@emotion/react": "^11.11.0",
|
"@emotion/react": "^11.11.0",
|
||||||
"@emotion/styled": "^11.11.0",
|
"@emotion/styled": "^11.11.0",
|
||||||
"@jixun/libparakeet": "0.2.0",
|
"@jixun/libparakeet": "0.2.1",
|
||||||
"@reduxjs/toolkit": "^1.9.5",
|
"@reduxjs/toolkit": "^1.9.5",
|
||||||
"framer-motion": "^10.12.16",
|
"framer-motion": "^10.12.16",
|
||||||
"immer": "^10.0.2",
|
"immer": "^10.0.2",
|
||||||
|
@ -26,8 +26,8 @@ dependencies:
|
|||||||
specifier: ^11.11.0
|
specifier: ^11.11.0
|
||||||
version: 11.11.0(@emotion/react@11.11.0)(@types/react@18.2.7)(react@18.2.0)
|
version: 11.11.0(@emotion/react@11.11.0)(@types/react@18.2.7)(react@18.2.0)
|
||||||
'@jixun/libparakeet':
|
'@jixun/libparakeet':
|
||||||
specifier: 0.2.0
|
specifier: 0.2.1
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
'@reduxjs/toolkit':
|
'@reduxjs/toolkit':
|
||||||
specifier: ^1.9.5
|
specifier: ^1.9.5
|
||||||
version: 1.9.5(react-redux@8.0.5)(react@18.2.0)
|
version: 1.9.5(react-redux@8.0.5)(react@18.2.0)
|
||||||
@ -2866,8 +2866,8 @@ packages:
|
|||||||
chalk: 4.1.2
|
chalk: 4.1.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@jixun/libparakeet@0.2.0:
|
/@jixun/libparakeet@0.2.1:
|
||||||
resolution: {integrity: sha512-FASxHQuiLZZMv2QpP/RajmUuI+HiKJNRYVHkUkZ7UdKpOesWVhhuXv5FGEETLL/Im/Ky2orpF3gOnejY0tR+Ow==}
|
resolution: {integrity: sha512-OZRx72yKfRs8ZRZcNPAOBEAz9/v3jXK5V6ue4WomcW6HhNZy7JjdXZOF7lHqMgfB47d1CyLNJbaT0r0tiKGjbA==}
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@jridgewell/gen-mapping@0.3.3:
|
/@jridgewell/gen-mapping@0.3.3:
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
try {
|
try {
|
||||||
$gz_b64 = adb shell su -c "cat '{{ dir }}/{{ file }}' | gzip | base64" | Out-String
|
$gz_b64 = adb shell su -c "cat '{{ dir }}/{{ file }}' | gzip | base64" | Out-String
|
||||||
$bStream = New-Object System.IO.MemoryStream(,[System.Convert]::FromBase64String($gz_b64))
|
$bStream = New-Object System.IO.MemoryStream(,[System.Convert]::FromBase64String($gz_b64))
|
||||||
$decoded = New-Object System.IO.Compression.GzipStream($bStream, [System.IO.Compression.CompressionMode]::Decompress)
|
$decoded = New-Object System.IO.Compression.GzipStream($bStream, [System.IO.Compression.CompressionMode]::Decompress)
|
||||||
$outFile = New-Object System.IO.FileStream("{{ file }}", [System.IO.FileMode]::Create, [System.IO.FileAccess]::Write)
|
$outFile = New-Object System.IO.FileStream("${PWD}\{{ file }}", [System.IO.FileMode]::Create, [System.IO.FileAccess]::Write)
|
||||||
$decoded.CopyTo($outFile)
|
$decoded.CopyTo($outFile)
|
||||||
|
} catch {
|
||||||
|
Write-Host "遇到错误:"
|
||||||
|
Write-Host $_
|
||||||
} finally {
|
} finally {
|
||||||
if ($outFile -ne $null) { $outFile.Dispose() }
|
if ($outFile -ne $null) { $outFile.Dispose() }
|
||||||
if ($decoded -ne $null) { $decoded.Dispose() }
|
if ($decoded -ne $null) { $decoded.Dispose() }
|
||||||
if ($bStream -ne $null) { $bStream.Dispose() }
|
if ($bStream -ne $null) { $bStream.Dispose() }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user