[Linux-only] basically bloxstap for sober

verbose mode

+9 -2
+9 -2
src/index.ts
··· 26 if (helpSwitch) { 27 console.log( 28 `TuxStrap - Basically Bloxstrap for Linux! 29 - 30 List FFlag/Plugin profiles: 31 \\ttuxstrap --list-plugins 32 33 Enable a plugin: 34 \\ttuxstrap +super ··· 170 171 const child = exec(`flatpak run ${SOBER_APPID} "${robloxLaunchURL}"`); 172 173 const watcher = new ActivityWatcher(child, { 174 - verbose: false, 175 tuxstrapLaunchTime: Date.now() 176 }); 177
··· 26 if (helpSwitch) { 27 console.log( 28 `TuxStrap - Basically Bloxstrap for Linux! 29 + 30 List FFlag/Plugin profiles: 31 \\ttuxstrap --list-plugins 32 + 33 + Enable versbose mode for Roblox logs: 34 + \\ttuxstrap -v / --verbose 35 36 Enable a plugin: 37 \\ttuxstrap +super ··· 173 174 const child = exec(`flatpak run ${SOBER_APPID} "${robloxLaunchURL}"`); 175 176 + const isVerbose = process.argv.find( 177 + (a) => (a === "-v") || (a === "--verbose") 178 + ); 179 + 180 const watcher = new ActivityWatcher(child, { 181 + verbose: !!isVerbose, 182 tuxstrapLaunchTime: Date.now() 183 }); 184