This repository has been archived by the owner on Aug 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ca2dde0
Showing
35 changed files
with
1,591 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Pods/ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
-----BEGIN PUBLIC KEY----- | ||
MIIGOjCCBC0GByqGSM44BAEwggQgAoICAQCNdfwE4cv9+ofyYmo6fwBkuORt6b+6 | ||
UJPnWwf4ObgW9472g20C1eBE47WwxH/ouOMbGM5h9sD+42nHM74Bukg82tTSprfD | ||
Ky4ZWE7lJwI3o+4O9oRdMBTIOpO6jfU/p7EcULOB4MuVWCfDScYSDaq8kOfFSP/Y | ||
NtjoVGtjddPaio50w2HdUhoC/mMcHPbrgxWWGYQdkmIx+hk7gxFiGLcBwIP9zwQD | ||
SyyGl/uPtP3S49uQvlN1C1bWZtOUK9F5EjJxY9IYjH38yqkg6pWX4kwTBboAvfVi | ||
rDFoJGU4tF72anF4gqp32jIqSjyRXp2A5pd/EOECsb4a7hdgFxcGeJSqWweVuBmc | ||
y+kmZ4VBg0TMsmKDjEN8cR3/vNR01lq94n80y7B/EnwDVInvtGnrLAuqp2Y0QLUn | ||
9OU5wYv1JraOZaK1C6yDbYKHsTbTucurQQiyeEXrL6qUMATkjUgkeCMeuWtT7A3n | ||
pgRHwTKnlBHRBHs5Wg7T70M9S/6R8zjDKgM1JXKB4IsXaKAnw8Eco/SBCKkVaVR9 | ||
Nl4Agsb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31t8x111NGv | ||
LlHQ3AzE+T+BPTjIJAEY6FGOrhRuLVnmrIdBCrLSLteivPCCenAw/4DTTBXLlbIq | ||
LJ77CFsZwTTmwFjJ1AlG8Wqcv2RyMzQQQnKsXpj8KD+D8OH1/FmbfKRZQ2Qn2xCS | ||
FziHG1FLEBUSthD6T7OmtfZFcp5t0Wu9gCf360Lz9NLJXfRQ1C+O64gqVIcuxMIx | ||
w+rB0NCZOQ1KjaltbP5M0k6Ec+biMkmAoYT2lgqoFmNvF44e/FCb/Za3BjNhyZyn | ||
caeD08ykRCgPDxxn01NcxlGUcrhOPMmzYYr78DFBvT7jiaXiCuSkTT8CdL1QNTSZ | ||
au6+JFAOxl5nITYqirxxyqAxsPXywhG9+D1AMJbgW8mdKpP/B3dYPKBby92pAfXh | ||
B5axQFRfE/cJ6qXoKIvltSzwA+AgBw5LyPbTzzhN7OyN1jvqaUohLCYbs2EVk7ll | ||
pb99BEWiaKz/JPyo0nO1vRQGmHjLCKHE40aZHBfscC2HesVgQPwarjioeVsPVwJ+ | ||
jkz7VtbUdxNcmCbvUQI= | ||
-----END PUBLIC KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# -*- coding: utf-8 -*- | ||
from __future__ import unicode_literals | ||
|
||
import biplist | ||
import os.path | ||
|
||
application = defines.get('app', './build/Applications/Putio.app') | ||
appname = os.path.basename(application) | ||
|
||
def icon_from_app(app_path): | ||
plist_path = os.path.join(app_path, 'Contents', 'Info.plist') | ||
plist = biplist.readPlist(plist_path) | ||
icon_name = plist['CFBundleIconFile'] | ||
icon_root,icon_ext = os.path.splitext(icon_name) | ||
if not icon_ext: | ||
icon_ext = '.icns' | ||
icon_name = icon_root + icon_ext | ||
return os.path.join(app_path, 'Contents', 'Resources', icon_name) | ||
|
||
format = defines.get('format', 'UDBZ') | ||
size = defines.get('size', '100M') | ||
files = [ application ] | ||
symlinks = { 'Applications': '/Applications' } | ||
badge_icon = icon_from_app(application) | ||
icon_locations = { | ||
appname: (140, 120), | ||
'Applications': (500, 120) | ||
} | ||
background = 'builtin-arrow' | ||
window_rect = ((500, 500), (640, 280)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
<channel> | ||
<title>Putio.app Changelog</title> | ||
<link>https://s3-eu-west-1.amazonaws.com/putio-mac-app/putio-app-appcast.xml</link> | ||
<description>Most recent changes with links to updates.</description> | ||
<language>en</language> | ||
|
||
<item> | ||
<title>Version 1.3.1</title> | ||
<description> | ||
<![CDATA[ | ||
<ul> | ||
<li>Fix a nasty concurrency bug that affects some certain files.</li> | ||
</ul> | ||
]]> | ||
</description> | ||
<pubDate>Fri, 6 Dec 2016 14:55:11 +0000</pubDate> | ||
<enclosure sparkle:version="1.3.1" sparkle:dsaSignature="MC0CFHst0KDUNpfhehdnriy00AsBswDYAhUA3Vx73eJx6Z5UM5l/FmyuwpwBJkU=" length="8838113" url="https://s3-eu-west-1.amazonaws.com/putio-mac-app/Putio.dmg" type="application/octet-stream" /> | ||
8814785 | ||
</item> | ||
<item> | ||
<title>Version 1.3</title> | ||
<description> | ||
<![CDATA[ | ||
<ul> | ||
<li>Add logout option</li> | ||
<li>Pause/Resume toggle button</li> | ||
<li>Minor bugfixes</li> | ||
</ul> | ||
]]> | ||
</description> | ||
<pubDate>Fri, 23 Nov 2016 14:55:11 +0000</pubDate> | ||
<enclosure sparkle:version="1.3" sparkle:dsaSignature="MC0CFCjsHC5BmJF59rixP92oh2i3cxSjAhUAzVOlcOTDan+cQEy+DMeJ1Zx2FH4=" length="8814785" url="https://s3-eu-west-1.amazonaws.com/putio-mac-app/Putio.dmg" type="application/octet-stream" /> | ||
8814785 | ||
</item> | ||
<item> | ||
<title>Version 1.2</title> | ||
<description> | ||
<![CDATA[ | ||
<ul> | ||
<li>Bugfixes.</li> | ||
</ul> | ||
]]> | ||
</description> | ||
<pubDate>Fri, 16 Nov 2016 17:21:11 +0000</pubDate> | ||
<enclosure sparkle:version="1.2" sparkle:dsaSignature="MC4CFQDHZHeRDddX6C5mS9z3oqjj1WWI1QIVAMUFkB1W6g4VCesCr81tRLB18SgV" length="9420250" url="https://s3-eu-west-1.amazonaws.com/putio-mac-app/Putio.dmg" type="application/octet-stream" /> | ||
</item> | ||
<item> | ||
<title>Version 1.1</title> | ||
<description> | ||
<![CDATA[ | ||
<ul> | ||
<li>Initial release.</li> | ||
</ul> | ||
]]> | ||
</description> | ||
<pubDate>Fri, 8 Nov 2016 17:21:11 +0000</pubDate> | ||
<enclosure sparkle:version="1.1" sparkle:dsaSignature="MCwCFFtdr3lRyaA6PJRogdHFfQWk1qOzAhQndibxWXel3YgJRtk2bNtmIP6/ow==" length="9420660" url="https://s3-eu-west-1.amazonaws.com/putio-mac-app/Putio.dmg" type="application/octet-stream" /> | ||
</item> | ||
</channel> | ||
</rss> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
DMGBUILD := $(shell command -v dmgbuild 2> /dev/null) | ||
|
||
all: build | ||
|
||
check: | ||
ifndef DMGBUILD | ||
$(error "dmgbuild is not available. pip install dmgbuild") | ||
endif | ||
|
||
build: check | ||
@mkdir build | ||
@xcodebuild -workspace Putio.xcworkspace -scheme Putio DSTROOT="build" archive | ||
@dmgbuild -s Data/dmg-settings.py Putio build/Applications/Putio.dmg | ||
@openssl dgst -sha1 -binary < build/Applications/Putio.dmg | openssl dgst -dss1 -sign ~/.ssh/putio_app_dsa_private.pem | openssl enc -base64 | ||
@gstat -c "%s" build/Applications/Putio.dmg | ||
|
||
clean: | ||
@rm -rf build/ | ||
|
||
.PHONY: all build check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
platform :osx, '10.9' | ||
|
||
target 'Putio' do | ||
use_frameworks! | ||
pod 'Sparkle', '~> 1.10' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PODS: | ||
- Sparkle (1.14.0) | ||
|
||
DEPENDENCIES: | ||
- Sparkle (~> 1.10) | ||
|
||
SPEC CHECKSUMS: | ||
Sparkle: ccd95233b12a3e3d4eeb55ff01dd4c8bb8188b07 | ||
|
||
PODFILE CHECKSUM: cc5319e8240db435532bfa2a52d1bb298a7f0ff7 | ||
|
||
COCOAPODS: 1.0.1 |
Oops, something went wrong.