mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 06:54:58 +00:00
fix
This commit is contained in:
parent
c49d2720f2
commit
aa489da1dc
|
@ -601,7 +601,7 @@ var HTTPObject = function(engine) {
|
|||
var out = PipeIPC.connect("volatile");
|
||||
|
||||
if (this.method == "GET") {
|
||||
cmd = cmd.concat(["/download", "/priority", job_priority, url, out.path]); // build a BITS command
|
||||
cmd = cmd.concat(["/download", "/priority", job_priority, url, SYS.getCurrentScriptDirectory() + "\\" + out.path]); // build a BITS command
|
||||
this._interface.exec(cmd); // launch the download job
|
||||
out.reload(); // read the downloaded data
|
||||
responseText = out.read() // set the downloaded data to response text
|
||||
|
|
|
@ -438,7 +438,7 @@ function PipeIPC() {
|
|||
};
|
||||
|
||||
// Fixed bug: broken GUI sample #86, Reported by @eogloblin, in 2023-10-26
|
||||
// Reference #1: https://gist.github.com/antic183/619f42b559b78028d1fe9e7ae8a1352d
|
||||
// https://gist.github.com/antic183/619f42b559b78028d1fe9e7ae8a1352d
|
||||
this._read = function(fh) {
|
||||
try {
|
||||
return (function(s) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user