Compare commits

..

No commits in common. "a5cc2e12300e0ae39e204b4b52b22966fc02232c" and "8f09882470cbbfb1fda1ec12b7e23b3612535bac" have entirely different histories.

3 changed files with 13 additions and 16 deletions

View File

@ -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.1", "@jixun/libparakeet": "0.2.0",
"@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",

View File

@ -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.1 specifier: 0.2.0
version: 0.2.1 version: 0.2.0
'@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.1: /@jixun/libparakeet@0.2.0:
resolution: {integrity: sha512-OZRx72yKfRs8ZRZcNPAOBEAz9/v3jXK5V6ue4WomcW6HhNZy7JjdXZOF7lHqMgfB47d1CyLNJbaT0r0tiKGjbA==} resolution: {integrity: sha512-FASxHQuiLZZMv2QpP/RajmUuI+HiKJNRYVHkUkZ7UdKpOesWVhhuXv5FGEETLL/Im/Ky2orpF3gOnejY0tR+Ow==}
dev: false dev: false
/@jridgewell/gen-mapping@0.3.3: /@jridgewell/gen-mapping@0.3.3:

View File

@ -2,11 +2,8 @@ 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("${PWD}\{{ file }}", [System.IO.FileMode]::Create, [System.IO.FileAccess]::Write) $outFile = New-Object System.IO.FileStream("{{ 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() }