mirror of
https://github.com/barkeser2002/winlator.git
synced 2026-09-25 02:30:15 +03:00
28 lines
493 B
Bash
28 lines
493 B
Bash
#!/bin/bash
|
|
|
|
clear
|
|
echo "Winlator OBB Image Generator"
|
|
|
|
rm -r imagefs
|
|
mkdir -p imagefs
|
|
|
|
echo "Unzipping ubuntu-prepared.zip..."
|
|
unzip -q -o ubuntu-prepared.zip -d imagefs
|
|
|
|
echo "Unzipping wine.zip..."
|
|
mkdir -p imagefs/opt/wine
|
|
unzip -q -o wine.zip -d imagefs/opt/wine
|
|
|
|
echo "Unzipping patches.zip..."
|
|
unzip -q -o patches.zip -d imagefs
|
|
|
|
cd imagefs
|
|
rm -r .l2s
|
|
|
|
echo "Creating OBB Image..."
|
|
tar -I 'zstd -19' -cf main.1.com.winlator.obb .
|
|
|
|
cp main.1.com.winlator.obb ../
|
|
|
|
cd ..
|
|
rm -r imagefs |