Add serverless content back to launcher builds

This commit is contained in:
Ryan Huffman 2019-10-07 15:44:57 -07:00
parent 3db915c432
commit bab1a902a5

View file

@ -17,14 +17,12 @@ WIPE_PATHS = []
if sys.platform == "win32":
WIPE_PATHS = [
'jsdoc',
'resources/serverless'
'jsdoc'
]
elif sys.platform == "darwin":
INTERFACE_BUILD_PATH = os.path.join(INTERFACE_BUILD_PATH, "Interface.app", "Contents", "Resources")
WIPE_PATHS = [
'jsdoc',
'serverless'
'jsdoc'
]
@ -81,9 +79,6 @@ def fixupMacZip(filename):
# ignore the nitpick app
if newFilename.startswith('nitpick.app'):
continue
# ignore the serverless content
if newFilename.startswith('interface.app/Contents/Resources/serverless'):
continue
# if we made it here, include the file in the output
buffer = inzip.read(entry.filename)
entry.filename = newFilename