mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2025-01-17 23:30:46 +00:00
fakesign deb
This commit is contained in:
parent
a63ba48b8a
commit
38c6a81ed4
4
Makefile
4
Makefile
@ -4,11 +4,15 @@ SCHEME="Mini vMac"
|
||||
CONFIGURATION=Release
|
||||
APP="build/Build/Products/$(CONFIGURATION)-iphoneos/Mini vMac.app"
|
||||
VERSION=`xpath 2>/dev/null Mini\ vMac/Info.plist "/plist/dict/key[.='CFBundleShortVersionString']/following-sibling::*[1]/text()"`
|
||||
LDID=ldid
|
||||
|
||||
deb: $(APP)
|
||||
rm -rf build/deb
|
||||
mkdir -p build/deb/{Applications,DEBIAN}
|
||||
cp -r $(APP) build/deb/Applications/
|
||||
rm -f "build/deb/Applications/Mini vMac.app/embedded.mobileprovision"
|
||||
find build/deb/Applications -name _CodeSignature -exec rm -rvf {} +
|
||||
find build/deb/Applications -type f -perm -111 -exec $(LDID) {} \;
|
||||
cp apt-control build/deb/DEBIAN/control
|
||||
echo Installed-Size: `du -ck build/deb | tail -1 | cut -f 1` >> build/deb/DEBIAN/control
|
||||
echo Version: $(VERSION) >> build/deb/DEBIAN/control
|
||||
|
Loading…
x
Reference in New Issue
Block a user