update include update env file

This commit is contained in:
xiaomlove
2024-12-30 01:35:05 +08:00
parent 3cf7b36ad6
commit 0f88ab8d82
8 changed files with 38 additions and 165 deletions
+6
View File
@@ -137,6 +137,12 @@ class NexusUpdate extends Command
$this->doLog("Error: Redis version: {$mysqlInfo['version']} is too low, please use 2.0.0 or above.", 'error');
return 0;
}
if ($includeComposer) {
$this->doLog("going to update .env file ...");
$this->update->updateEnvFile();
$this->doLog("update .env file done!");
}
$this->doLog("going to createSymbolicLinks...");
$this->update->createSymbolicLinks($symbolicLinks);
$this->doLog("createSymbolicLinks done!");