chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
+24
View File
@@ -0,0 +1,24 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true,
});
exports.watchFile = exports.makeAsyncCommand = void 0;
var _fs = _interopRequireDefault(require("fs"));
function _interopRequireDefault(e) {
return e && e.__esModule ? e : { default: e };
}
const watchFile = async function (filename, callback) {
_fs.default.watchFile(filename, () => {
callback();
});
await callback();
};
exports.watchFile = watchFile;
const makeAsyncCommand = (command) => (argv) => {
Promise.resolve(command(argv)).catch((error) => {
console.error(error.stack);
process.exitCode = 1;
});
};
exports.makeAsyncCommand = makeAsyncCommand;