Permalink
Browse files

Update name in build files

  • Loading branch information...
dabbott committed Nov 20, 2017
1 parent 9758e96 commit 00c07c7ebb02f31fcec591c0d32b5cec3a20d4c7
Showing with 23 additions and 23 deletions.
  1. +1 −1 Podfile
  2. BIN dmg/ComponentStudioIcon.icns
  3. +6 −6 dmg/appcast.sh
  4. +3 −3 dmg/appdmg.json
  5. +5 −5 dmg/build-dmg.sh
  6. +4 −4 dmg/build-zip.sh
  7. +4 −4 dmg/convert-icon.sh
View
@@ -5,7 +5,7 @@ target 'LonaStudio' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for ComponentStudio
# Pods for LonaStudio
pod 'Yoga', '~> 1.6'
pod 'SwiftyJSON'
pod 'MASPreferences', '~> 1.1'
Binary file not shown.
View
@@ -1,9 +1,9 @@
if ! [ -e ComponentStudio.app ]; then
echo "Put the archived app, ComponentStudio.app, in this directory to update the appcast."
if ! [ -e LonaStudio.app ]; then
echo "Put the archived app, LonaStudio.app, in this directory to update the appcast."
exit 1
fi
if ! [ -e ComponentStudio.zip ]; then
if ! [ -e LonaStudio.zip ]; then
echo "You must first build a zip in order to appcast."
exit 1
fi
@@ -18,12 +18,12 @@ if [[ -z "${COMPONENT_STUDIO_APPCAST_DIRECTORY}" ]]; then
exit 1
fi
VERSION=$(mdls -name kMDItemVersion ComponentStudio.app | awk -F'"' '{print $2}')
TARGET="$COMPONENT_STUDIO_APPCAST_DIRECTORY"ComponentStudio_"$VERSION".zip
VERSION=$(mdls -name kMDItemVersion LonaStudio.app | awk -F'"' '{print $2}')
TARGET="$COMPONENT_STUDIO_APPCAST_DIRECTORY"LonaStudio_"$VERSION".zip
echo "Copying .zip to $TARGET"
cp ComponentStudio.zip "$TARGET"
cp LonaStudio.zip "$TARGET"
echo "Generating appcast"
View
@@ -1,13 +1,13 @@
{
"title": "Component Studio",
"icon": "ComponentStudioIcon.icns",
"title": "Lona Studio",
"icon": "LonaStudioIcon.icns",
"background": "background.png",
"contents": [
{
"x": 158,
"y": 185,
"type": "file",
"path": "ComponentStudio.app"
"path": "LonaStudio.app"
},
{
"x": 447,
View
@@ -1,12 +1,12 @@
[ -e ComponentStudio.dmg ] && rm ComponentStudio.dmg
[ -e LonaStudio.dmg ] && rm LonaStudio.dmg
if ! [ -e ComponentStudio.app ]; then
echo "Put the archived app, ComponentStudio.app, in this directory to build a dmg."
if ! [ -e LonaStudio.app ]; then
echo "Put the archived app, LonaStudio.app, in this directory to build a dmg."
exit 1
fi
# npm install -g appdmg
appdmg appdmg.json ComponentStudio.dmg
appdmg appdmg.json LonaStudio.dmg
# https://stackoverflow.com/questions/23824815/how-to-add-codesigning-to-dmg-file-in-mac
codesign -s "Developer ID Application: Devin Abbott (CV2RHZWPY9)" ComponentStudio.dmg
codesign -s "Developer ID Application: Devin Abbott (CV2RHZWPY9)" LonaStudio.dmg
View
@@ -1,11 +1,11 @@
[ -e ComponentStudio.zip ] && rm ComponentStudio.zip
[ -e LonaStudio.zip ] && rm LonaStudio.zip
if ! [ -e ComponentStudio.app ]; then
echo "Put the archived app, ComponentStudio.app, in this directory to build a zip."
if ! [ -e LonaStudio.app ]; then
echo "Put the archived app, LonaStudio.app, in this directory to build a zip."
exit 1
fi
# zip it while preserving metadata
# https://github.com/sparkle-project/Sparkle/issues/433
# https://github.com/electron/electron/issues/905
ditto -c -k --sequesterRsrc --keepParent ComponentStudio.app ComponentStudio.zip
ditto -c -k --sequesterRsrc --keepParent LonaStudio.app LonaStudio.zip
View
@@ -1,7 +1,7 @@
mkdir ComponentStudioIcon.iconset
mkdir LonaStudioIcon.iconset
cp ../ComponentStudio/Assets.xcassets/AppIcon.appiconset/*.png ComponentStudioIcon.iconset
cp ../LonaStudio/Assets.xcassets/AppIcon.appiconset/*.png LonaStudioIcon.iconset
iconutil -c icns ComponentStudioIcon.iconset -o ComponentStudioIcon.icns
iconutil -c icns LonaStudioIcon.iconset -o LonaStudioIcon.icns
rm -R ComponentStudioIcon.iconset
rm -R LonaStudioIcon.iconset

0 comments on commit 00c07c7

Please sign in to comment.