From 984e8b1cd3f85dbf7d7b4960bd528d5166901d1d Mon Sep 17 00:00:00 2001 From: dmc Date: Mon, 22 Jan 2024 16:45:41 +0100 Subject: [PATCH] update by-arch format --- lib/system-status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')