1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-11 09:28:38 +00:00

Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Fedor Zaitsev 2020-05-17 00:16:57 -07:00
commit 60e36759af
3 changed files with 10 additions and 7 deletions

View File

@ -17,9 +17,9 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.25</string> <string>0.26</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>385</string> <string>401</string>
<key>LSApplicationCategoryType</key> <key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string> <string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>

View File

@ -1,16 +1,18 @@
# INSTALL xcpretty: sudo gem install xcpretty
NAME='MTMR' NAME='MTMR'
rm -r Release 2>/dev/null rm -r Release 2>/dev/null
xcodebuild archive \ xcodebuild archive \
-scheme "$NAME" \ -scheme "$NAME" \
-archivePath Release/App.xcarchive -archivePath Release/App.xcarchive | xcpretty -c
xcodebuild \ xcodebuild \
-exportArchive \ -exportArchive \
-archivePath Release/App.xcarchive \ -archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \ -exportOptionsPlist export-options.plist \
-exportPath Release -exportPath Release | xcpretty -c
cd Release cd Release
rm -r App.xcarchive rm -r App.xcarchive
@ -20,7 +22,7 @@ NAME_DMG="${NAME}.app"
echo $NAME_DMG echo $NAME_DMG
create-dmg $NAME_DMG create-dmg $NAME_DMG
DATE=`date +"%a, %d %b %Y %H:%M:%S %z"` DATE=`LC_ALL=en_US.utf8 date +"%a, %d %b %Y %H:%M:%S %z"`
BUILD=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${NAME}.app/Contents/Info.plist` BUILD=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" ${NAME}.app/Contents/Info.plist`
VERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" ${NAME}.app/Contents/Info.plist` VERSION=`/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" ${NAME}.app/Contents/Info.plist`
MINIMUM=`/usr/libexec/PlistBuddy -c "Print LSMinimumSystemVersion" ${NAME}.app/Contents/Info.plist` MINIMUM=`/usr/libexec/PlistBuddy -c "Print LSMinimumSystemVersion" ${NAME}.app/Contents/Info.plist`

View File

@ -1,3 +1,4 @@
# INSTALL xcpretty: sudo gem install xcpretty
NAME='MTMR' NAME='MTMR'
killall $NAME killall $NAME
@ -11,13 +12,13 @@ rm -r Release 2>/dev/null
xcodebuild archive \ xcodebuild archive \
-scheme "$NAME" \ -scheme "$NAME" \
-archivePath Release/App.xcarchive -archivePath Release/App.xcarchive | xcpretty
xcodebuild \ xcodebuild \
-exportArchive \ -exportArchive \
-archivePath Release/App.xcarchive \ -archivePath Release/App.xcarchive \
-exportOptionsPlist export-options.plist \ -exportOptionsPlist export-options.plist \
-exportPath Release -exportPath Release | xcpretty
cd Release cd Release
rm -r App.xcarchive rm -r App.xcarchive