New mobile/ directory with Capacitor project: - Configurable server URL launcher (default: app.pedshub.com) - Android: foreground service + wake lock for background recording (AudioRecordingService preserved from existing TWA) - iOS: background audio mode + microphone permission - App ID: com.pedshub.scribe - Both platforms initialized and synced Existing android/ TWA project untouched — this is a separate project. Build: cd mobile && npx cap open android (or ios)
27 lines
719 B
JavaScript
27 lines
719 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
// Export promiseified graceful-fs:
|
|
...require('./fs'),
|
|
// Export extra methods:
|
|
...require('./copy-sync'),
|
|
...require('./copy'),
|
|
...require('./empty'),
|
|
...require('./ensure'),
|
|
...require('./json'),
|
|
...require('./mkdirs'),
|
|
...require('./move-sync'),
|
|
...require('./move'),
|
|
...require('./output'),
|
|
...require('./path-exists'),
|
|
...require('./remove')
|
|
}
|
|
|
|
// Export fs.promises as a getter property so that we don't trigger
|
|
// ExperimentalWarning before fs.promises is actually accessed.
|
|
const fs = require('fs')
|
|
if (Object.getOwnPropertyDescriptor(fs, 'promises')) {
|
|
Object.defineProperty(module.exports, 'promises', {
|
|
get () { return fs.promises }
|
|
})
|
|
}
|