Do the same as the start-tor-browser script and set the HOME environment variable to the tbb directory.