update by-arch format

This commit is contained in:
dmc
2024-01-22 16:45:41 +01:00
parent 95132128cd
commit 984e8b1cd3

View File

@@ -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')