[client][server] file transfer working, ui not ready for it
This commit is contained in:
@ -18,8 +18,6 @@ interface Game {
|
||||
installed: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
||||
const App = () => {
|
||||
const [gameItems, setGameItems] = useState<Game[]>([]);
|
||||
const [searchTerm, setSearchTerm] = useState('');
|
||||
@ -100,7 +98,7 @@ const App = () => {
|
||||
const runGame = async (id: string) => {
|
||||
console.log(`🎯 Running game with id=${id}`);
|
||||
try {
|
||||
const result = await invoke('run_game_backend', {id});
|
||||
const result = await invoke('install_game', {id});
|
||||
console.log(`✅ Game started, result=${result}`);
|
||||
} catch (error) {
|
||||
console.error('❌ Error running game:', error);
|
||||
|
Reference in New Issue
Block a user