Skip to content

Commit 8cb38af

Browse files
authored
Update commands.rs
1 parent a110e9b commit 8cb38af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hacker/src/commands.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use crate::utils::{handle_cybersecurity, handle_gaming, run_command_with_spinner
33
use crate::UnpackCommands;
44
use crate::SystemCommands;
55
use crate::RunCommands;
6-
use std::io::{self};
76
use std::process::Command;
7+
88
pub fn handle_unpack(unpack_command: UnpackCommands) {
99
match unpack_command {
1010
UnpackCommands::AddOns => {
@@ -112,6 +112,7 @@ pub fn handle_unpack(unpack_command: UnpackCommands) {
112112
}
113113
}
114114
}
115+
115116
pub fn handle_system(system_command: SystemCommands) {
116117
match system_command {
117118
SystemCommands::Logs => {
@@ -120,6 +121,7 @@ pub fn handle_system(system_command: SystemCommands) {
120121
}
121122
}
122123
}
124+
123125
pub fn handle_run(cmd: RunCommands) {
124126
match cmd {
125127
RunCommands::UpdateSystem => run_command_with_spinner("sudo", vec!["/usr/share/HackerOS/Scripts/Bin/update-system.sh"], "Updating system"),

0 commit comments

Comments
 (0)