Minor fixes

This commit is contained in:
ElderP 2012-06-25 12:38:21 -04:00
parent 422d9bd7e5
commit 7c6b595a42
4 changed files with 6 additions and 6 deletions

View File

@ -336,4 +336,4 @@ This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
Public License instead of this License.

View File

@ -44,4 +44,4 @@ of this technique, any changes you make during the Live mode session aren't
saved back to your device. The default is false.
There may be other values also permitted in the user configuration file by the
portable application; refer to help.html for any details of them.
portable application; refer to help.html for any details of them.

View File

@ -29,4 +29,4 @@ Start=OpenLPPortable.exe
FileType=osz
[FileTypeIcons]
osz=app
osz=app

View File

@ -566,18 +566,18 @@ class WindowsBuilder(object):
"""
self._print(u'Running PortableApps Builder...')
self._print(u' Clearing old files')
# Remove previous contents of portableapp build directory.
# Remove previous contents of portableapp build directory.
if os.path.exists(self.portable_path):
rmtree(self.portable_path)
self._print(u' Creating PortableApps build directory')
# Copy the contents of the OpenLPPortable directory to the portable
# build directory.
self._print(u' Creating PortableApps build directory')
dir_util.copy_tree(os.path.join(self.script_path, u'OpenLPPortable'),
self.portable_path)
self.check_portableapp_directory()
self.create_portableapps_appinfo_file()
self._print(u' Copying distribution files')
# Copy distribution files to portableapp build directory.
self._print(u' Copying distribution files')
portable_app_path = os.path.join(self.portable_path, u'App', u'OpenLP')
dir_util.copy_tree(self.dist_path, portable_app_path)
# Copy help files to portableapp build directory.