Look for JS in lib dir

This commit is contained in:
Kevin Sawicki 2016-03-08 11:03:25 -08:00
parent c47ad29124
commit f109591d03

View file

@ -29,7 +29,7 @@ def copy_js(js_source_files, output_dir):
def call_asar(archive, output_dir): def call_asar(archive, output_dir):
js_dir = os.path.join(output_dir, 'atom') js_dir = os.path.join(output_dir, 'lib')
asar = os.path.join(SOURCE_ROOT, 'node_modules', 'asar', 'bin', 'asar') asar = os.path.join(SOURCE_ROOT, 'node_modules', 'asar', 'bin', 'asar')
subprocess.check_call([find_node(), asar, 'pack', js_dir, archive]) subprocess.check_call([find_node(), asar, 'pack', js_dir, archive])