Skip to content

Commit 57deac1

Browse files
committed
Fixed wrong path name when installing platform
1 parent 3848b3d commit 57deac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/core/install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func runInstallCommand(cmd *cobra.Command, args []string) {
132132
formatter.PrintError(err, "Cannot get core install path, try again.")
133133
os.Exit(commands.ErrCoreConfig)
134134
}
135-
possiblePath := filepath.Join(coreRoot, item.Platform.Name, item.Version)
135+
possiblePath := filepath.Join(coreRoot, item.Platform.Architecture, item.Version)
136136

137137
err = cores.InstallPlatform(possiblePath, item.Resource)
138138
if err != nil {

0 commit comments

Comments
 (0)