- 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
9 lines
227 B
TypeScript
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);
|
|
} |