Skip to content

Commit

Permalink
fix: modify the prompt message for the installation location (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
aby913 authored Jan 23, 2025
1 parent f5b2408 commit b868f65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/windows/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ func (g *GetDiskPartition) Execute(runtime connector.Runtime) error {
if len(partitions) == 0 {
return fmt.Errorf("Unable to retrieve disk space information")
}
fmt.Printf("\nInstalling Olares will create a WSL Ubuntu Distro and occupy at least 80 GB of disk space. \nCurrent disk available space, please select the disk to store the WSL Ubuntu Distro: \n\n")
fmt.Printf("\nInstalling Olares will create a WSL Ubuntu Distro and occupy at least 80 GB of disk space. \nPlease select the drive where you want to install it. \nAvailable drives and free space:\n")
for _, v := range partitions {
var tmp = strings.Split(v, "_")
fmt.Printf("%s Free Disk: %s\n", tmp[0], tmp[1])
Expand All @@ -607,7 +607,7 @@ func (g *GetDiskPartition) Execute(runtime connector.Runtime) error {
scanner := bufio.NewScanner(os.Stdin)

for {
fmt.Printf("\nPlease enter the drive, such as C, D, ... : ")
fmt.Printf("\nPlease enter the drive letter (e.g., C):")

scanner.Scan()
enterPath = scanner.Text()
Expand Down

0 comments on commit b868f65

Please sign in to comment.