fix bugs for query -app

This commit is contained in:
2025-05-29 04:04:11 +08:00
parent 552653c8f7
commit 0507163248
5 changed files with 45 additions and 4 deletions

13
src/scripts/get-app.ts Normal file
View File

@@ -0,0 +1,13 @@
import { queryAppVersion } from '@/query/app-manager/query-app.ts';
import { sleep } from 'bun';
await sleep(2000); // Ensure the environment is ready
const main = async () => {
console.log('Fetching app version...');
const res = await queryAppVersion({
key: 'center',
version: '0.0.11',
});
console.log(res);
};
main();