isUpgradeAvailable = true : $this->isUpgradeAvailable = false; if (config('app.env') === 'local') { $this->isUpgradeAvailable = true; } } public function upgrade() { try { $this->showProgress = true; resolve(UpdateCoolify::class)(true); Toaster::success('Upgrading Coolify to latest version...'); } catch (\Exception $e) { return general_error_handler(err: $e, that: $this); } } }