# 添加Parallels与微信搜索

HapiGo 自带了常见的应用和文件路径，但是也有一些有争议的应用和文件并未包含。其中被问询比较多的是：Parallels Desktop 的应用搜索和微信缓存文件的搜索路径。

对于部分需要的用户，可以根据下面介绍手动添加：

### 添加 Parallels Desktop 虚拟机应用

PD 是 macOS 上一款知名的虚拟机应用，主打 Windows 与 macOS 融合使用，所以其支持在 macOS 中直接打开 Windows 的应用。但是，由于大部分 mac 用户只在特殊情况下才使用虚拟机，添加 PD 应用搜索会影响日常使用。

如果你特别需要此功能，可手动添加。打开设置-搜索-应用搜索，点击 + 按钮添加 PD 应用路径：\~/Applications (Parallels)/。如果嫌文件导航麻烦，可以在点击 + 按钮打开路径选择对话框后按快捷键 <mark style="background-color:blue;">Shift+CMD+G</mark>，然后把上面路径粘贴进去。

<figure><img src="https://1003988539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl32LfsaljX9FHbl3ksjH%2Fuploads%2FL61J66ANXaewxprtlPIo%2F%E6%88%AA%E5%B1%8F2023-06-29%2023.27.18.png?alt=media&#x26;token=981441a6-f575-45a6-8452-b36e3f338ebf" alt=""><figcaption></figcaption></figure>

如果你的 PD 虚拟机应用路径 \~/Applications (Parallels)/ 为空，可能是虚拟机与 Mac 共享应用的设置没有开。打开虚拟系统（如果有多个虚拟系统，需要分别设置），点击顶部菜单栏-操作-配置...。在弹出的设置面板中，点击「选项」标签，切换到「应用程序」，勾选「与 Mac 共享 WIndows 应用程序」。

<figure><img src="https://1003988539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl32LfsaljX9FHbl3ksjH%2Fuploads%2FW4mcWPdQCU0TxajVblUL%2F%E6%88%AA%E5%B1%8F2023-07-19%2010.46.07.png?alt=media&#x26;token=0b329ea5-5060-482e-9dcd-874ce1081d22" alt=""><figcaption></figcaption></figure>

### 添加微信 & 企业微信缓存文件

微信 & 企业微信因为涉及到多个用户在此电脑登录后，新打开的聊天文件都会缓存，这就会存在隐私和安全的问题。所以，我们并没有支持微信缓存文件搜索，但如果你特别需要此功能，请自行添加。添加微信缓存文件搜索如下，企业微信也是类似操作。

1. 打开微信，随便找一个聊天文件，右键打开菜单 - 点击「在 Finder 中显示」。系统会自动打开 Finder，并定位到此文件。此时，我们需要按 <mark style="color:red;">**2**</mark> 次 CMD+↑，向前翻 2 级文件夹到文件夹「MessageTemp」。
2. 打开 HapiGo 设置 - 搜索 - 文件搜索，点击 + 按钮打开路径选择对话框。此时，将上面 MessageTemp 文件夹拖拽到此对话框即可定位到此文件夹，最后点完成。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.hapigo.com/baisc/weixin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
