mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-19 14:57:32 +09:00
- Update packaging scripts to support both lzma and bzip2 - Update python script to support lzma - Update test scripts to support lzma to be thorough This all requires xz to be available in the path on the build system.
14 lines
288 B
Bash
14 lines
288 B
Bash
#!/bin/bash
|
|
# helper tool for testing. Cats the manifest out of a mar file
|
|
|
|
mar="$1"
|
|
workdir="/tmp/catmanifest"
|
|
|
|
rm -rf "$workdir"
|
|
mkdir -p "$workdir"
|
|
cp "$1" "$workdir"
|
|
cd "$workdir"
|
|
mar -x "$1"
|
|
mv updatev2.manifest updatev2.manifest.xz
|
|
xz -d updatev2.manifest.xz
|
|
cat updatev2.manifest
|