diff --git a/BUILD.gn b/BUILD.gn index ff4655344cce..10e79c54fa00 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -705,7 +705,8 @@ if (is_mac) { } if (!is_mac) { - data += [ "$root_out_dir/resources" ] + data += [ "$root_out_dir/resources/default_app.asar" ] + data += [ "$root_out_dir/resources/electron.asar" ] } public_deps = [ diff --git a/build/zip.py b/build/zip.py index e3b5a2fd5c83..84df610d7cd5 100644 --- a/build/zip.py +++ b/build/zip.py @@ -17,7 +17,6 @@ EXTENSIONS_TO_SKIP = [ PATHS_TO_SKIP = [ 'angledata', #Skipping because it is an output of //ui/gl that we don't need 'swiftshader', #Skipping because it is an output of //ui/gl that we don't need - 'resources/inspector' ] def skip_path(dep): @@ -71,10 +70,7 @@ def main(argv): if os.path.isdir(dep): for root, dirs, files in os.walk(dep): for file in files: - file_path = os.path.join(root, file) - if skip_path(file_path): - continue - z.write(file_path) + z.write(os.path.join(root, file)) else: z.write(dep)