Add 20 Pear/Bare platform modules replacing deprecated pear run.
Introduces hyper-bare-entry-runner, pear-runtime embed/link/config stack, and scaffold helpers for argv, storage, OTA, Electron, and headless UI. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
require('bare-process/global')
|
||||
const { HyperPearApplinkConfig } = require('../index.js')
|
||||
async function main () {
|
||||
const m = new HyperPearApplinkConfig()
|
||||
await m.ready()
|
||||
console.log(m.getStats())
|
||||
await m.close()
|
||||
}
|
||||
main().catch((e) => { console.error(e); process.exit(1) })
|
||||
Reference in New Issue
Block a user