mirror of
https://github.com/ksherlock/ample.git
synced 2025-08-05 02:24:58 +00:00
bump sparkle 2.1.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=2.0.0
|
||||
VERSION=2.1.0
|
||||
TAR=Sparkle-${VERSION}.tar.xz
|
||||
URL=https://github.com/sparkle-project/Sparkle/releases/download/${VERSION}/Sparkle-${VERSION}.tar.xz
|
||||
FRAMEWORK=Sparkle.framework
|
||||
@@ -16,3 +16,12 @@ if [ ! -e $FRAMEWORK ] ; then tar xfz ../$TAR ; fi
|
||||
cd ..
|
||||
|
||||
ditto Sparkle-${VERSION}/$FRAMEWORK $FRAMEWORK
|
||||
|
||||
# older version of xcode need a Versions/A directory
|
||||
|
||||
SW_VERSION=`sw_vers -productVersion`
|
||||
case $SW_VERSION in
|
||||
10.14|10.14.*)
|
||||
if [ ! -e $FRAMEWORK/Versions/A ] ; then ln -s B $FRAMEWORK/Versions/A ; fi
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user