[Linux-only] basically bloxstap for sober

verbose mode

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