File Structure
Here you can have a good look on the important folder and what they containextension
extension
all the files related to the extension itself, as well as the injection.js (won’t show if not build for the first time)
safari-extension
safari-extension
the safari extension xcode project
scripts
scripts
this is where the dev.ts (for the watch) and the generate all files are located, more could be added along the way
src
src
all Teams but (actually) good files
src/teams-plugins
src/teams-plugins
here reside all the official plugins
src/user-plugins (must be created)
src/user-plugins (must be created)
here reside all your custom plugin / unofficial ones, keep in mind that ones added like that might not work when Teams updates
src/themes
src/themes
here reside all the themes
src-tauri
src-tauri
all the files related to tauri, no need to touch them
Commands
There’s different commands you can run with bun that will, for example: build the extension / launch the app or watch (like nodemon) to help you dev on the extension easier Generatingplugin-registry and theme-registry is very important. If your plugin(s) / theme(s) are not in one of those files, TBAG won’t load them and if those 2 files don’t exist, TBAG wont launch itself either. To generate them you must run this command (automatically done if running other build commands, so don’t worry to much about it)

nodemon but made for this projet, when a change is detected, it’ll build the new injection.js file, make the extension reload itself (to take in count the new injection.js file) and if enable on the extension, reload the page
More info about how to use the extension in the extension page
injection.js file, that file contains the whole code for Teams but (actually) good, without it, there’s no Teams but (actually) good, that command will create that file and put it inside the dist and extension folder to be used by the Tauri app and the extension

