mirror of
https://github.com/logos-storage/logos-storage-installer.git
synced 2026-01-02 13:33:11 +00:00
reordering the options
This commit is contained in:
parent
190aa88907
commit
65c5a2add9
1182
package-lock.json
generated
1182
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
src/main.js
20
src/main.js
@ -80,10 +80,10 @@ export async function main() {
|
||||
message: 'Select an option:',
|
||||
choices: [
|
||||
'1. Download and install Codex',
|
||||
'2. Edit Codex configuration',
|
||||
'3. Run Codex node',
|
||||
'4. Open Codex App',
|
||||
'5. Check node status',
|
||||
'2. Run Codex node',
|
||||
'3. Check node status',
|
||||
'4. Edit Codex configuration',
|
||||
'5. Open Codex App',
|
||||
'6. Upload a file',
|
||||
'7. Download a file',
|
||||
'8. Show local data',
|
||||
@ -107,16 +107,16 @@ export async function main() {
|
||||
}
|
||||
break;
|
||||
case '2':
|
||||
await showConfigMenu(config);
|
||||
break;
|
||||
case '3':
|
||||
await runCodex(config, showNavigationMenu);
|
||||
return;
|
||||
case '3':
|
||||
await checkNodeStatus(config, showNavigationMenu);
|
||||
break;
|
||||
case '4':
|
||||
openCodexApp(config);
|
||||
await showConfigMenu(config);
|
||||
break;
|
||||
case '5':
|
||||
await checkNodeStatus(config, showNavigationMenu);
|
||||
openCodexApp(config);
|
||||
break;
|
||||
case '6':
|
||||
await uploadFile(config, null, handleCommandLineOperation, showNavigationMenu);
|
||||
@ -132,7 +132,7 @@ export async function main() {
|
||||
break;
|
||||
case '10':
|
||||
const { exec } = await import('child_process');
|
||||
const url = 'https://docs.google.com/forms/d/1U21xp6shfDkJWzJSKHhUjwIE7fsYk94gmLUKAbxUMcw/edit';
|
||||
const url = 'https://tally.so/r/w2DlXb';
|
||||
const command = process.platform === 'win32' ? `start ${url}` : process.platform === 'darwin' ? `open ${url}` : `xdg-open ${url}`;
|
||||
exec(command);
|
||||
console.log(showInfoMessage('Opening feedback form in your browser...'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user