From bcae6eaea08233356573cb41f24e58cd72e6aa00 Mon Sep 17 00:00:00 2001 From: answer-huang Date: Thu, 14 May 2015 12:12:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E5=BE=84=E4=B8=AD=E5=8C=85=E5=90=AB?= =?UTF-8?q?=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决路径中不能包含空格的bug --- dSYM.py | 2 +- setup.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dSYM.py b/dSYM.py index cfcd9ec..9c094bb 100644 --- a/dSYM.py +++ b/dSYM.py @@ -151,7 +151,7 @@ def EvtRadioBox(self, event): def startCalc(self, event): if self.memAddress.GetValue(): - comString = 'xcrun atos -arch ' + self.selectedArchiveType + ' -o ' + str(self.appFilePath) + ' -l ' + self.slideAddress.GetValue() + ' ' + self.memAddress.GetValue() + comString = 'xcrun atos -arch ' + self.selectedArchiveType + ' -o "' + str(self.appFilePath) + '" -l ' + self.slideAddress.GetValue() + ' ' + self.memAddress.GetValue() tmp = os.popen(comString).readlines() self.maybeReasonContent.SetValue(tmp[0]) diff --git a/setup.py b/setup.py index 9f5ec02..53e6394 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,7 @@ #coding=utf-8 + +#打包命令 : python setup.py py2app + __author__ = 'answer-huang' import sys