mirror of
https://github.com/logos-storage/logos-storage-installer.git
synced 2026-01-07 16:03:07 +00:00
fixes trailing newline
This commit is contained in:
parent
27bd79d4b1
commit
90d1c951e1
@ -159,7 +159,8 @@ export async function installCodex(config, showNavigationMenu) {
|
|||||||
await runCommand('timeout 120 bash install.sh');
|
await runCommand('timeout 120 bash install.sh');
|
||||||
}
|
}
|
||||||
|
|
||||||
await saveCodexExePathToConfig(config, path.join(process.env.LOCALAPPDATA, "Codex", "codex"));
|
const codexExePath = (await runCommand("which codex")).replace("\n", "");
|
||||||
|
await saveCodexExePathToConfig(config, codexExePath);
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.message.includes('ECONNREFUSED') || error.message.includes('ETIMEDOUT')) {
|
if (error.message.includes('ECONNREFUSED') || error.message.includes('ETIMEDOUT')) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user