mirror of
https://gitlab.com/openlp/packaging.git
synced 2024-12-22 13:02:50 +00:00
Minor fixes
This commit is contained in:
parent
422d9bd7e5
commit
7c6b595a42
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user