ruki 4 lat temu
rodzic
commit
99aa2e3ddf

+ 3 - 1
guide/configuration.md

@@ -933,6 +933,8 @@ Or use `xmake g --theme=plain` to disable it globally.
 
 The default global directory for xmake's remote package installation is `~/.xmake/packages`, but users can also set this variable to modify it individually.
 
+We can also use `xmake g --pkg_installdir=/xxx` to set it, the effect is the same.
+
 ### XMAKE_PKG_CACHEDIR
 
 - Set the cache directory of dependent packages
@@ -945,7 +947,7 @@ Of course, xmake will automatically clean up all cache files of the previous mon
 
 - Set the script directory of xmake
 
-All lua scripts of xmake are installed with the installer. By default, they are in the installation directory. However, if you want to switch to the script directory you downloaded to facilitate local modification and debugging, you can set the secondary variable.
+All lua scripts of xmake are installed with the installer. By default, they are in the installation directory. However, if you want to switch to the script directory you downloaded to facilitate local modification and debugging, you can set the this variable.
 
 If you want to view the script directory currently used by xmake, you can execute:
 

+ 2 - 1
mirror/guide/configuration.html

@@ -859,6 +859,7 @@ XMAKE_LOGFILE Set the log output file path.
 <li>Set the installation root directory of the dependent package</li>
 </ul>
 <p>The default global directory for xmake&#39;s remote package installation is <code>~/.xmake/packages</code>, but users can also set this variable to modify it individually.</p>
+<p>We can also use <code>xmake g --pkg_installdir=/xxx</code> to set it, the effect is the same.</p>
 <h3 id="xmake_pkg_cachedir">XMAKE_PKG_CACHEDIR</h3>
 <ul>
 <li>Set the cache directory of dependent packages</li>
@@ -869,7 +870,7 @@ XMAKE_LOGFILE Set the log output file path.
 <ul>
 <li>Set the script directory of xmake</li>
 </ul>
-<p>All lua scripts of xmake are installed with the installer. By default, they are in the installation directory. However, if you want to switch to the script directory you downloaded to facilitate local modification and debugging, you can set the secondary variable.</p>
+<p>All lua scripts of xmake are installed with the installer. By default, they are in the installation directory. However, if you want to switch to the script directory you downloaded to facilitate local modification and debugging, you can set the this variable.</p>
 <p>If you want to view the script directory currently used by xmake, you can execute:</p>
 <pre><code class="lang-console">$ xmake l os.programdir
 /Users/ruki/.local/share/xmake

+ 2 - 1
mirror/zh-cn/guide/configuration.html

@@ -868,6 +868,7 @@ XMAKE_LOGFILE           Set the log output file path.
 <li>设置依赖包的安装根目录</li>
 </ul>
 <p>xmake 的远程包安装的全局目录默认是 <code>~/.xmake/packages</code>,但是用户也可以设置这个变量,去单独修改它。</p>
+<p>我们也可以使用 <code>xmake g --pkg_installdir=/xxx</code> 去设置它,效果是一样的。</p>
 <h3 id="xmake_pkg_cachedir">XMAKE_PKG_CACHEDIR</h3>
 <ul>
 <li>设置依赖包的缓存目录</li>
@@ -878,7 +879,7 @@ XMAKE_LOGFILE           Set the log output file path.
 <ul>
 <li>设置 xmake 的脚本目录</li>
 </ul>
-<p>xmake 的所有 lua 脚本随安装程序一起安装,默认都在安装目录下,但是如果想要切到自己下载的脚本目录下,方便本地修改调试,可以设置变量。</p>
+<p>xmake 的所有 lua 脚本随安装程序一起安装,默认都在安装目录下,但是如果想要切到自己下载的脚本目录下,方便本地修改调试,可以设置变量。</p>
 <p>如果要查看当前 xmake 在使用的脚本目录,可以执行:</p>
 <pre><code class="lang-console">$ xmake l os.programdir
 /Users/ruki/.local/share/xmake

+ 90 - 90
sitemap.xml

@@ -12,452 +12,452 @@
 
 <url>
   <loc>https://xmake.io/mirror/guide/project_examples.html</loc>
-  <lastmod>2021-11-09T21:18:41+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:21+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/other_features.html</loc>
-  <lastmod>2021-11-09T21:18:41+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:21+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/quickstart.html</loc>
-  <lastmod>2021-11-09T21:18:41+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:21+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/faq.html</loc>
-  <lastmod>2021-11-09T21:18:41+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/configuration.html</loc>
-  <lastmod>2021-11-09T21:18:41+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/syntax_description.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/guide/installation.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/plugin_development.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/more_plugins.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:22+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/plugin/builtin_plugins.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/awesome.html</loc>
-  <lastmod>2021-11-09T21:18:42+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/technical_support.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/changelog.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/contact.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/introduction.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:23+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/who_is_using_xmake.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/about/sponsor.html</loc>
-  <lastmod>2021-11-09T21:18:43+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/project_examples.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/other_features.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/quickstart.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/faq.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:24+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/configuration.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:25+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/syntax_description.html</loc>
-  <lastmod>2021-11-09T21:18:44+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:25+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/guide/installation.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:25+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/plugin_development.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:25+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/more_plugins.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:25+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/plugin/builtin_plugins.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:26+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/awesome.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:26+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/technical_support.html</loc>
-  <lastmod>2021-11-09T21:18:45+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:26+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/changelog.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:26+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/contact.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:26+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/peripheral_items.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/introduction.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/who_is_using_xmake.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/sponsor.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/about/course.html</loc>
-  <lastmod>2021-11-09T21:18:46+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/getting_started.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:27+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/specification.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:28+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_variables.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:28+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/conditions.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:28+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_rule.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:28+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/target_instance.html</loc>
-  <lastmod>2021-11-09T21:18:47+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:28+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/project_target.html</loc>
-  <lastmod>2021-11-09T21:18:48+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:29+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/builtin_modules.html</loc>
-  <lastmod>2021-11-09T21:18:48+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:29+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/custom_toolchain.html</loc>
-  <lastmod>2021-11-09T21:18:48+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:29+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/plugin_task.html</loc>
-  <lastmod>2021-11-09T21:18:48+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:29+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_dependencies.html</loc>
-  <lastmod>2021-11-09T21:18:48+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:29+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/configuration_option.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/extension_modules.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/helper_interfaces.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/global_interfaces.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/package_instance.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/manual/option_instance.html</loc>
-  <lastmod>2021-11-09T21:18:49+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:30+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/builtin_themes.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:31+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/theme/switch_theme.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:31+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/index.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:31+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_3rd_source_library.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:31+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package_old.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:31+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/local_package.html</loc>
-  <lastmod>2021-11-09T21:18:50+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/system_package.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/package/remote_package.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/remote_toolchain.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/zh-cn/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/getting_started.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:32+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/specification.html</loc>
-  <lastmod>2021-11-09T21:18:51+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:33+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_variables.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:33+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/conditions.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:33+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/custom_rule.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:33+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/target_instance.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:33+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/project_target.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/builtin_modules.html</loc>
-  <lastmod>2021-11-09T21:18:52+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/custom_toolchain.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/plugin_task.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/package_dependencies.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/configuration_option.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:34+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/extension_modules.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:35+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/helper_interfaces.html</loc>
-  <lastmod>2021-11-09T21:18:53+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:35+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/global_interfaces.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:35+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/package_instance.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:35+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/manual/option_instance.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:35+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/theme/builtin_themes.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/theme/switch_theme.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/index.html</loc>
-  <lastmod>2021-11-09T21:18:54+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_3rd_source_library.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_package_old.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/local_package.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:36+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/system_package.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:37+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/package/remote_package.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:37+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/toolchain/remote_toolchain.html</loc>
-  <lastmod>2021-11-09T21:18:55+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:37+08:00</lastmod>
 </url>
 
 <url>
   <loc>https://xmake.io/mirror/toolchain/builtin_toolchains.html</loc>
-  <lastmod>2021-11-09T21:18:56+08:00</lastmod>
+  <lastmod>2021-11-09T21:23:37+08:00</lastmod>
 </url>
 
 </urlset>

+ 3 - 1
zh-cn/guide/configuration.md

@@ -958,6 +958,8 @@ export XMAKE_ROOT=y
 
 xmake 的远程包安装的全局目录默认是 `~/.xmake/packages`,但是用户也可以设置这个变量,去单独修改它。
 
+我们也可以使用 `xmake g --pkg_installdir=/xxx` 去设置它,效果是一样的。
+
 ### XMAKE_PKG_CACHEDIR
 
 - 设置依赖包的缓存目录
@@ -970,7 +972,7 @@ xmake 的远程包安装的全局目录默认是 `~/.xmake/packages`,但是用
 
 - 设置 xmake 的脚本目录
 
-xmake 的所有 lua 脚本随安装程序一起安装,默认都在安装目录下,但是如果想要切到自己下载的脚本目录下,方便本地修改调试,可以设置变量。
+xmake 的所有 lua 脚本随安装程序一起安装,默认都在安装目录下,但是如果想要切到自己下载的脚本目录下,方便本地修改调试,可以设置变量。
 
 如果要查看当前 xmake 在使用的脚本目录,可以执行: