This commit is contained in:
Eugene Pankov 2019-12-28 22:13:36 +01:00
parent 150999d3a3
commit 2ce0f03282
3 changed files with 2 additions and 5 deletions

View File

@ -25,8 +25,5 @@ if (['darwin', 'linux'].includes(process.platform)) {
for (let x of vars.builtinPlugins) {
sh.ln('-fs', '../' + x, x)
}
for (let x of vars.bundledModules) {
sh.ln('-fs', '../app/node_modules/' + x, x)
}
sh.cd('..')
}

View File

@ -209,7 +209,7 @@ export class SSHService {
if (result.remember) {
savedPassword = result.value
}
return await result.value
return result.value
}
return ''
} catch (_) {

View File

@ -292,7 +292,7 @@ export class Session extends BaseSession {
}
if (process.platform === 'linux') {
try {
return await fs.readlink(`/proc/${this.truePID}/cwd`)
return fs.readlink(`/proc/${this.truePID}/cwd`)
} catch (exc) {
console.error(exc)
return null