Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

怎么自定义 g 安装目录 .我想自定义到 D 盘. #34

Closed
DestinyHunter opened this issue Jul 20, 2020 · 11 comments
Closed

怎么自定义 g 安装目录 .我想自定义到 D 盘. #34

DestinyHunter opened this issue Jul 20, 2020 · 11 comments

Comments

@DestinyHunter
Copy link

rt

@voidint
Copy link
Owner

voidint commented Jul 20, 2020

详见#18

@DestinyHunter
Copy link
Author

win 上 没有生效, 设置 G_HOME 到 D:\UserPath\GoLang 没有生效, 依然安装到 c:/user/.go

@voidint
Copy link
Owner

voidint commented Jul 21, 2020

😂这还是个待实现的特性,如果已经实现了issue也就关掉了。

@zaunist
Copy link

zaunist commented Aug 25, 2020

这个不能识别电脑上已经安装的 go 版本

@voidint
Copy link
Owner

voidint commented Aug 25, 2020

这个不能识别电脑上已经安装的 go 版本

不是通过g安装的,都识别不了。

@voidint
Copy link
Owner

voidint commented Aug 30, 2020

  • Windows系统下G_HOME环境变量已经生效,可以拉取master分支代码尝试下。
  • 切换到自定义的目录后,需要手工修改G_HOMEGOROOTPath等环境变量。建议按照下图示例的方式修改,好处是即使今后再次变更目录,也只需要修改G_HOME一个环境变量。
    image

@cf313995
Copy link

cf313995 commented Nov 5, 2020

1.2.0版本已经实现自定义盘符了么?

@voidint
Copy link
Owner

voidint commented Nov 5, 2020

1.2.0版本已经实现自定义盘符了么?

1.2.0并不支持。master分支上的版本对Windows平台有初步的支持,只是还未release。如果你用的Windows,可以尝试下。

@cf313995
Copy link

cf313995 commented Nov 5, 2020

1.2.0版本已经实现自定义盘符了么?

1.2.0并不支持。master分支上的版本对Windows平台有初步的支持,只是还未release。如果你用的Windows,可以尝试下。

好的

@chawyehsu
Copy link

1.2.0版本已经实现自定义盘符了么?

1.2.0并不支持。master分支上的版本对Windows平台有初步的支持,只是还未release。如果你用的Windows,可以尝试下。

有没有计划发个版?我这边准备支持 Scoop 安装,有 G_HOME 可以更 portable。

@voidint
Copy link
Owner

voidint commented Jan 4, 2021

1.2.0版本已经实现自定义盘符了么?

1.2.0并不支持。master分支上的版本对Windows平台有初步的支持,只是还未release。如果你用的Windows,可以尝试下。

有没有计划发个版?我这边准备支持 Scoop 安装,有 G_HOME 可以更 portable。

master分支中引入了新的环境变量G_EXPERIMENTAL来开启这类实验特性,详见 #18 的最新评论内容。

@voidint voidint closed this as completed Jun 10, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants