Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make the PY3 version the default one! (#188)
* make the PY3 version the default one!

* switch update to the new default download link
  • Loading branch information
typemytype committed Jun 8, 2018
1 parent a608f15 commit 8021502
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/content/download.rst
Expand Up @@ -3,9 +3,9 @@ Download

.. cssclass:: app-download-link

> `Download DrawBot (python 2.7) <http://static.typemytype.com/drawBot/DrawBot.dmg>`_
> `Download DrawBot (Python 3.6) <http://static.typemytype.com/drawBot/DrawBot.dmg>`_

> `Download experimental DrawBot (Python 3.6) <http://static.typemytype.com/drawBot/DrawBotPy3.dmg>`_
> `Download DrawBot (python 2.7) <http://static.typemytype.com/drawBot/DrawBotPy2.dmg>`_

requirements: osX 10.9+

Expand Down
4 changes: 2 additions & 2 deletions drawBot/drawBotSettings.py
@@ -1,9 +1,9 @@
import sys

if sys.version_info[0] >= 3:
appName = "DrawBotPy3"
else:
appName = "DrawBot"
else:
appName = "DrawBotPy2"


__version__ = "3.114"
4 changes: 2 additions & 2 deletions drawBot/updater.py
Expand Up @@ -54,9 +54,9 @@ def downloadCurrentVersion():
Download the current version (dmg) and mount it
"""
if PY2:
path = "http://static.typemytype.com/drawBot/DrawBot.dmg"
path = "http://static.typemytype.com/drawBot/DrawBotPy2.dmg"
else:
path = "http://static.typemytype.com/drawBot/DrawBotPy3.dmg"
path = "http://static.typemytype.com/drawBot/DrawBot.dmg"
try:
# download and mount
cmds = ["hdiutil", "attach", "-plist", path]
Expand Down

0 comments on commit 8021502

Please sign in to comment.