made the server and the client/server communication functionality work.
This commit is contained in:
1 parent
ae91cc0ce4
commit
4ce461025c
7 files changed
+1162
-438
No files matched your search
@@ -69,6 +69,8 @@ pub fn client_install() -> Result<(), Box<dyn Error>> {
|
||||
let term_cmd = get_user_input(
|
||||
"for example: konsole -e |||COMMAND||| or konsole --profile profile_name ENV_NAME=CURRENT_PROJECT_BOX",
|
||||
)?;
|
||||
let tools_folder =
|
||||
get_user_input("path where your tools are installed ex /opt or /home/user/tools")?;
|
||||
config_path.push("client.conf");
|
||||
projects_path.push("default");
|
||||
create_dir_all(&projects_path)?;
|
||||
@@ -100,6 +102,7 @@ pub fn client_install() -> Result<(), Box<dyn Error>> {
|
||||
client_config_file.write(format!("module_path: {}\n", module_path.display()).as_bytes())?;
|
||||
client_config_file.write(format!("template_box: {}\n", template_box).as_bytes())?;
|
||||
client_config_file.write(format!("term_cmd: {}\n", term_cmd).as_bytes())?;
|
||||
client_config_file.write(format!("tools: {}\n", tools_folder).as_bytes())?;
|
||||
println!("\ndefault config files written!");
|
||||
println!("downloading default notes and modules...");
|
||||
create_dir_all("./temp")?;
|
||||
|
||||
Reference in new issue
Block a user