Update to Laragon Portable 3.3

This commit is contained in:
Khoa Le
2018-07-18 11:22:49 +07:00
parent b40d0b0fea
commit 2b3a15d000
614 changed files with 204871 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/laragon/utils/curl.exe Normal file

Binary file not shown.

View File

@@ -0,0 +1,28 @@
var fs = require("fs");
console.log(process.argv.length);
if (process.argv.length != 4) {
console.log("You must specify exact arguments!");
process.exit();
}
var hostsFile = process.argv[2];
var hostsFileTmp = process.argv[3];
var content = '';
fs.readFile(hostsFileTmp, function read(err, data) {
if (err) {
throw err;
}
content = data;
if (content !== '') {
doWrite();
}
});
function doWrite() {
fs.writeFile(hostsFile, content, function(err) {
if(err) {
fs.renameSync(hostsFileTmp, hostsFileTmp + '.err');
return console.log(err);
}
});
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.