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
This commit is contained in:
9
src/utils/coreBoot.ts
Normal file
9
src/utils/coreBoot.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user