Permalink
Browse files

change Wikireader to WikiReader

Signed-off-by: Hank Wang <hank@openmoko.com>
  • Loading branch information...
1 parent bde6e5f commit 8281a11216511c8cd47c72d7cc82e3272879b5f0 Hank Wang committed Aug 10, 2012
@@ -6,8 +6,8 @@
[Pyinstaller - pack applcation to exe](http://www.pyinstaller.org/)
```
-python Makespec.py -F -w --icon=icon.ico "Wikireader Update.py"
-python Build.py .\Wikireader Update\Wikireader Update.spec
+python Makespec.py -F -w --icon=icon.ico "WikiReader Update.py"
+python Build.py .\WikiReader Update\WikiReader Update.spec
```
### Mac
@@ -79,7 +79,7 @@ def __init__(self, parent, ID, title, size=wx.DefaultSize, pos=wx.DefaultPositio
class WindowsMenuBar(wx.MenuBar):
def OnAbout(self, evt):
- dlg = AboutDialog(self, -1, "About Wikireader Update", size=(400, 462), style=wx.DEFAULT_DIALOG_STYLE)
+ dlg = AboutDialog(self, -1, "About WikiReader Update", size=(400, 462), style=wx.DEFAULT_DIALOG_STYLE)
dlg.ShowModal()
def OnFAQ(self, evt):
@@ -103,7 +103,7 @@ def __init__(self, parent):
faqItem = helpMenu.Append(302, "&Frequently Asked Questions")
titem = helpMenu.Append(303, "&Twitter")
helpMenu.AppendSeparator()
- aitem =helpMenu.Append(301, "&About Wikireader Update")
+ aitem =helpMenu.Append(301, "&About WikiReader Update")
self.Append(fileMenu, '&File')
self.Append(helpMenu, '&Help')
@@ -118,7 +118,7 @@ def __init__(self, parent):
class MacSystemMenuFrame(wx.Frame):
def OnAbout(self, evt):
- dlg = AboutDialog(self, -1, "About Wikireader Update", size=(400, 462), style=wx.DEFAULT_DIALOG_STYLE)
+ dlg = AboutDialog(self, -1, "About WikiReader Update", size=(400, 462), style=wx.DEFAULT_DIALOG_STYLE)
dlg.ShowModal()
def OnFAQ(self, evt):
@@ -138,7 +138,7 @@ def __init__(self, parent):
if wx.Platform == '__WXMAC__':
menu = wx.Menu()
qitem = menu.Append(wx.ID_EXIT,"Quit","Quit Applications")
- aitem = menu.Append(wx.ID_ABOUT, "&About Wikireader Update")
+ aitem = menu.Append(wx.ID_ABOUT, "&About WikiReader Update")
faqItem = menu.Append(555, "Frequently Asked Questions")
titem = menu.Append(556, "Twitter")
menubar.Append(menu, '&Help')
@@ -157,7 +157,7 @@ def __init__(self, parent):
frameHeight = 0
if wx.Platform == '__WXMSW__':
- frameHeight = 70
+ frameHeight = 30
wx.Frame.__init__(self, None, -1, "WikiReader Update", size=(499, 360 + frameHeight))
self.SetBackgroundColour("black")
@@ -492,7 +492,7 @@ def __init__(self, parent=None):
self.SetIcon(images.icon.GetIcon())
def checkBaseFile(self):
- self.dlg = wx.ProgressDialog("Wikireader Updater",
+ self.dlg = wx.ProgressDialog("WikiReader Updater",
"Checking base files ...",
maximum = 100,
parent=self,
@@ -811,7 +811,7 @@ def showMessage(msg):
wx.MessageBox(msg, 'Info', wx.OK | wx.ICON_INFORMATION)
def checkingVersionDialog(parent, showError=True):
- dlg = wx.ProgressDialog("Wikireader Updater",
+ dlg = wx.ProgressDialog("WikiReader Updater",
"Checking sdcard ...",
maximum = 100,
parent=parent,
@@ -1,5 +1,5 @@
# -*- mode: python -*-
-a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), 'C:\\wikireaderPlus\\Wikireader Update.py'],
+a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), 'C:\\wikireaderPlus\\WikiReader Update.py'],
pathex=['C:\\pyinstaller-1.5.1'])
a.datas += [('7za.exe', 'C:\\wikireaderPlus\\tools\\7za.exe', 'DATA')]
@@ -9,10 +9,10 @@ exe = EXE( pyz,
a.binaries,
a.zipfiles,
a.datas,
- name=os.path.join('dist', 'Wikireader Update.exe'),
+ name=os.path.join('dist', 'WikiReader Update.exe'),
debug=False,
strip=False,
upx=True,
console=False , icon='C:\\wikireaderPlus\\images\\icon.ico')
app = BUNDLE(exe,
- name=os.path.join('dist', 'Wikireader Update.exe.app'))
+ name=os.path.join('dist', 'WikiReader Update.exe.app'))
@@ -1,16 +1,16 @@
#!/bin/sh
-py2applet --make-setup --iconfile="WikiReader.icns" -S --resources=images "Wikireader Update.py" ./tools/7za << EOF
+py2applet --make-setup --iconfile="WikiReader.icns" -S --resources=images "WikiReader Update.py" ./tools/7za << EOF
y
EOF
rm -rf build dist
python setup.py py2app
-#codesign -f -s "Developer ID Application" "dist/Wikireader Update.app/" --timestamp=none
-codesign -f -s "Developer ID Application" "dist/Wikireader Update.app/"
+#codesign -f -s "Developer ID Application" "dist/WikiReader Update.app/" --timestamp=none
+codesign -f -s "Developer ID Application" "dist/WikiReader Update.app/"
# check code sign
-spctl -a -v "dist/Wikireader Update.app"
+spctl -a -v "dist/WikiReader Update.app"
open "dist/WikiReader Update.app"
View
@@ -7,7 +7,7 @@
from setuptools import setup
-APP = ['Wikireader Update.py']
+APP = ['WikiReader Update.py']
DATA_FILES = ['./tools/7za']
OPTIONS = {'argv_emulation': True,
'iconfile': 'WikiReader.icns',

0 comments on commit 8281a11

Please sign in to comment.