Files
spary/src/utils/coreBoot.ts
selcarpa e4f67f0f76 feat(core): Added core startup and debugging features
- Introduced the tauri-plugin-os, tauri-plugin-shell, and tauri-plugin-process plugins
- Added the coreStart function to execute shell commands to start the core
- Added the coreLog page and MainConsole component for debugging output
- Introduced vue-web-terminal to implement a terminal interface
- Removed the old Exe and Group modules and related code
2025-10-24 09:36:10 +08:00

9 lines
227 B
TypeScript

import {Command} from '@tauri-apps/plugin-shell';
export async function coreStart() {
let result = await Command.create('exec-sh', [
'-c',
"echo 'Hello World!'",
]).execute();
console.log(result);
}