Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #116 from r0b5t4/XWALK-6575
Browse files Browse the repository at this point in the history
Windows: Package all dll files
  • Loading branch information
r0b5t4 committed Mar 22, 2016
2 parents 09266a7 + 7c76f34 commit 51478f8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions windows/lib/WixSDK.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,16 @@ function(app_path, xwalk_path, meta_data, callback) {
AddFileComponent(app_root_folder, xwalk_path, 'icudtl.dat');
AddFileComponent(app_root_folder, xwalk_path, 'natives_blob.bin');
AddFileComponent(app_root_folder, xwalk_path, 'snapshot_blob.bin');
AddFileComponent(app_root_folder, xwalk_path, 'libEGL.dll');
AddFileComponent(app_root_folder, xwalk_path, 'libGLESv2.dll');
AddFileComponent(app_root_folder, xwalk_path, 'osmesa.dll');
AddFileComponent(app_root_folder, xwalk_path, 'VERSION');

// Add all dll files
readDir.readSync(xwalk_path).forEach(function (name) {
var suffix = name.substring(name.length - ".dll".length);
if (suffix && suffix.toLowerCase() === ".dll") {
AddFileComponent(app_root_folder, xwalk_path, name);
}
});

var subfolder_map = {};

function GetFolderNode(subfolder, root) {
Expand Down

0 comments on commit 51478f8

Please sign in to comment.