diff --git a/lib/system-status.js b/lib/system-status.js index 7349954..ca89be3 100644 --- a/lib/system-status.js +++ b/lib/system-status.js @@ -148,7 +148,7 @@ customElements.define('system-status', class extends HTMLElement { } #install () { - const runtime = path.join(config.pearDir, 'current', 'by-arch', process.platform + '-' + process.arch, 'bin', 'bare', 'pear') + const runtime = path.join('..', 'current', 'by-arch', process.platform + '-' + process.arch, 'bin', 'runtime', 'pear') fs.mkdirSync(BIN, { recursive: true }) if (isWin) { const ps1tmp = path.join(BIN, Math.floor(Math.random() * 1000) + '.pear')