Rename hybrid to managed

This commit is contained in:
Owen 2025-08-21 14:17:38 -07:00
parent 5ff5660db3
commit 60d8831399
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD
17 changed files with 39 additions and 39 deletions

View file

@ -96,8 +96,8 @@ export class Config {
if (!this.rawConfig) {
throw new Error("Config not loaded. Call load() first.");
}
if (this.rawConfig.hybrid) {
// LETS NOT WORRY ABOUT THE SERVER SECRET WHEN HYBRID
if (this.rawConfig.managed) {
// LETS NOT WORRY ABOUT THE SERVER SECRET WHEN MANAGED
return;
}
license.setServerSecret(this.rawConfig.server.secret!);
@ -149,8 +149,8 @@ export class Config {
return false;
}
public isHybridMode() {
return typeof this.rawConfig?.hybrid === "object";
public isManagedMode() {
return typeof this.rawConfig?.managed === "object";
}
public async checkSupporterKey() {