switch from bat to ps1
[webi-installers/.git] / _webi / packages.js
index b6ed22123ba4254db5fe97d92c42ac70161d0516..279e94056eb4f605b65062c923d18324c2cb080c 100644 (file)
@@ -38,7 +38,7 @@ pkgs.create = function (Pkgs, basepath) {
     var yash = path.join(basepath, node, 'package.yash');
     var curlbash = path.join(basepath, node, 'install.sh');
     var readme = path.join(basepath, node, 'README.md');
-    var winstall = path.join(basepath, node, 'install.bat');
+    var winstall = path.join(basepath, node, 'install.ps1');
     return Promise.all([
       fs.promises
         .readFile(readme, 'utf-8')
@@ -80,7 +80,7 @@ pkgs.create = function (Pkgs, basepath) {
         // no winstaller
         winstall = '';
         if ('ENOENT' !== e.code && 'ENOTDIR' !== e.code) {
-          console.error("failed to read '" + node + "/install.bat'");
+          console.error("failed to read '" + node + "/install.ps1'");
           console.error(e);
         }
       })