Switch FileBow to English and present the app in the public README
This commit is contained in:
1 parent
2b897267d1
commit
84164251e3
36 files changed
+346
-280
No files matched your search
@@ -23,8 +23,8 @@ class WindowsBridge {
|
||||
});
|
||||
this.process.stderr.resume();
|
||||
this.process.on('exit', () => {
|
||||
reject(new Error('Windows-Hilfsprozess wurde beendet.'));
|
||||
for (const pending of this.pending.values()) { clearTimeout(pending.timer); pending.reject(new Error('Windows-Hilfsprozess wurde beendet.')); }
|
||||
reject(new Error('The Windows helper process has stopped.'));
|
||||
for (const pending of this.pending.values()) { clearTimeout(pending.timer); pending.reject(new Error('The Windows helper process has stopped.')); }
|
||||
this.pending.clear();
|
||||
});
|
||||
});
|
||||
@@ -33,7 +33,7 @@ class WindowsBridge {
|
||||
await this.ready;
|
||||
return new Promise((resolve,reject) => {
|
||||
const id = this.next++;
|
||||
const timer = setTimeout(() => { this.pending.delete(id); reject(new Error('Windows antwortet nicht.')); }, 10000);
|
||||
const timer = setTimeout(() => { this.pending.delete(id); reject(new Error('Windows is not responding.')); }, 10000);
|
||||
this.pending.set(id, { resolve,reject,timer });
|
||||
this.process.stdin.write(JSON.stringify({ id, command, ...extra }) + '\n');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user