5 lines
352 B
JavaScript
5 lines
352 B
JavaScript
const process = require('process');
|
|
const { spawnSync, execSync } = require('child_process');
|
|
|
|
execSync(`scp ./build/Penny.gb root@ywbud3:/storage/roms/gb/Penny.gb`);
|
|
execSync(`echo "systemctl stop emustation.service; killall emulationstation; retroarch -L /lib/libretro/gambatte_libretro.so '/storage/roms/gb/Penny.gb';" | ssh root@ywbud3 /bin/bash`); |