Hacking Pegaswitch script? (linux help)

  • Thread starter Thread starter M7L7NK7
  • Start date Start date
  • Views Views 1,163
  • Replies Replies 3

M7L7NK7

Well-Known Member
Member
Joined
Oct 16, 2017
Messages
4,337
Solutions
1
Reaction score
4,238
Trophies
1
XP
7,407
Country
Australia
When you run pegaswitch you need to open a bash window in the pegaswitch folder, then write
node start.js -webapplet

Untitled.png


which then waits for the switch to connect, then waits for an input

3.png


then you need to write
evalfile usefulscripts/nspwn.js

is there anyway to make it write that for you after it is waiting for an input with the switch connected? I have

#!/bin/bash
node start.js --webapplet

which does the first part fine but I need to input the second command after it's connected...
 

Site & Scene News

Popular threads in this forum