Rename BranchSwitcher

This commit is contained in:
thororen1234 2025-09-07 20:48:39 -04:00
parent 129ba3695b
commit 34d530e055
No known key found for this signature in database

View file

@ -180,7 +180,7 @@ function makeShortcuts() {
experimentBucket: bucket,
});
},
makeBranchSwitcher: (branch: string) => {
switchBranch: (branch: string) => {
if (!IS_VESKTOP) throw new Error("This function only works on vesktop and equibop.");
const target = IS_VESKTOP ? Vesktop : Equibop;
if (target.Settings.store.discordBranch === branch) throw new Error(`Already on ${branch}.`);