Skip to content

Commit

Permalink
Merge pull request #4 from Xicrosoft/xicro
Browse files Browse the repository at this point in the history
fix: copy the external link content to this site
  • Loading branch information
QiuChenly authored Aug 25, 2024
2 parents 9c03cd3 + 273afed commit e7e614d
Show file tree
Hide file tree
Showing 12 changed files with 79 additions and 69 deletions.
5 changes: 4 additions & 1 deletion Writerside/Manual.tree
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
<toc-element topic="emby-server.md"/>
</toc-element>
<toc-element topic="app-support-list.md"/>
<toc-element topic="faqs.md"/>
<toc-element topic="faqs.md">
<toc-element topic="request-keychain-access.md"/>
<toc-element topic="file-is-damaged.md"/>
</toc-element>
<toc-element topic="report-an-issue.md"/>
<toc-element topic="some-complaints.md"/>
<toc-element topic="classic-quotes.md"/>
Expand Down
59 changes: 3 additions & 56 deletions Writerside/topics/faqs.md
Original file line number Diff line number Diff line change
@@ -1,60 +1,7 @@
# 常见问题

## 打开 App 提示 “文件已损坏” {#file-is-damaged, collapsible="true"}
[打开 App 提示 “文件已损坏” 该怎么办?](file-is-damaged.md)

![file-is-damaged](file-is-damaged-noshadow.png){width="500"}
[App 想要访问钥匙串中的密钥,是正常的吗?](request-keychain-access.md)

- “应用程序” 已损坏,无法打开。您应该将它移到废纸篓。
- “应用程序” 将对您的电脑造成伤害。您应该将它移到废纸篓。
- “应用程序” 已损坏,无法打开。你应该推出磁盘映像。
- 无法打开 “应用程序”,因为 Apple 无法检查其是否包含恶意软件。
- 无法打开 “应用程序”,因为它来自身份不明的开发者。


> 以下指令中涉及到文件路径 `"/Applications/Application.app"` 的都可直接从 Finder 中拖入终端自动填充。
>
> **开始操作前,请先确保已授予终端 “完全磁盘访问” 权限**
> {style="note"}
### 移除隔离属性

```Shell
sudo xattr -dr com.apple.quarantine /Applications/Application.app
```

### 本地签名
```Shell
# 安装 Command Line Tools for Xcode
# 若已安装可跳过
xcode-select --install

# 本地签名
sudo codesign --force --deep --sign - /Applications/Application.app
```

### 右键打开

在 Finder 中找到 .app 文件,按住 <shortcut>⌥ option</shortcut> 并 <shortcut>右键单击</shortcut>,在弹出的菜单中单击 `打开`

### 禁用 Gatekeeper

<resource src="gatekeeper-killer.mobileconfig"></resource>

下载后在 `系统设置``已下载的配置文件``Gatekeeper Killer``安装…` 安装即可

#### 安装此配置文件后将修改的配置: {#configurations-will-be-modified, collapsible="true"}
- 安全性 `com.apple.security`
- 禁用 “自动重新启用 Gatekeeper”
- 系统策略:控制 `com.apple.systempolicy.control`
- 禁用 “启用 Gatekeeper”


## App 想要访问钥匙串中的密钥 {#request-keychain-access, collapsible="true"}

![request-keychain-access](request-keychain-access-noshadow.png){width="400"}

这是由于重新签名后身份不匹配,导致应用程序的钥匙串访问被阻止。<shortcut>y</shortcut>

这是因为 macOS 使用代码签名来验证应用程序的完整性和来源,并使用此信息来决定是否允许应用访问钥匙串中的数据。

输入开机密码并点击始终允许即可,放心使用。
更多文章编写中...
50 changes: 50 additions & 0 deletions Writerside/topics/faqs/file-is-damaged.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# 打开 App 提示 “文件已损坏”

<link-summary>打开 App 提示 “文件已损坏” 该怎么办?</link-summary>

![file-is-damaged](file-is-damaged-noshadow.png){width="500"}

- “应用程序” 已损坏,无法打开。您应该将它移到废纸篓。
- “应用程序” 将对您的电脑造成伤害。您应该将它移到废纸篓。
- “应用程序” 已损坏,无法打开。你应该推出磁盘映像。
- 无法打开 “应用程序”,因为 Apple 无法检查其是否包含恶意软件。
- 无法打开 “应用程序”,因为它来自身份不明的开发者。


> 以下指令中涉及到文件路径 `"/Applications/Application.app"` 的都可直接从 Finder 中拖入终端自动填充。
>
> **开始操作前,请先确保已授予终端 “完全磁盘访问” 权限**
> {style="note"}
## 移除隔离属性

```Shell
sudo xattr -dr com.apple.quarantine /Applications/Application.app
```

## 本地签名

```Shell
# 安装 Command Line Tools for Xcode
# 若已安装可跳过
xcode-select --install

# 本地签名
sudo codesign --force --deep --sign - /Applications/Application.app
```

## 右键打开

在 Finder 中找到 .app 文件,按住 <shortcut>⌥ option</shortcut> 并 <shortcut>右键单击</shortcut>,在弹出的菜单中单击 `打开`

## 禁用 Gatekeeper

<resource src="gatekeeper-killer.mobileconfig"/>

下载后在 `系统设置``已下载的配置文件``Gatekeeper Killer``安装…` 安装即可

### 安装此配置文件后将修改的配置: {#configurations-will-be-modified, collapsible="true"}
- 安全性 `com.apple.security`
- 禁用 “自动重新启用 Gatekeeper”
- 系统策略:控制 `com.apple.systempolicy.control`
- 禁用 “启用 Gatekeeper”
11 changes: 11 additions & 0 deletions Writerside/topics/faqs/request-keychain-access.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# App 想要访问钥匙串中的密钥

<link-summary>这是由于重新签名后身份不匹配,导致应用程序的钥匙串访问被阻止。</link-summary>

![request-keychain-access](request-keychain-access-noshadow.png){width="400"}

这是由于重新签名后身份不匹配,导致应用程序的钥匙串访问被阻止。<shortcut>y</shortcut>

这是因为 macOS 使用代码签名来验证应用程序的完整性和来源,并使用此信息来决定是否允许应用访问钥匙串中的数据。

输入开机密码并点击始终允许即可,放心使用。
17 changes: 8 additions & 9 deletions Writerside/topics/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,19 @@

[//]: # (CEFR 分数达到 B1(中级,雅思 4.0 - 5.0)或以上)

如果你在使用过程中遇到任何问题,可以参考 [报告问题](report-an-issue.md) 部分在 YouTrack 或 GitHub 上提出详细问题。
如果你在使用过程中遇到任何问题,可以参考 [报告问题](report-an-issue.md) 部分在 GitHub 上提出详细问题。

## 常规使用 {#general}

<note>
目前基于 SwiftUI 的 <a href="https://github.com/wibus-wee/InjectGUI">InjectGUI</a> 已经发布,但还处于快速开发迭代阶段,其中部分功能可能并不稳定。<br/>
尝试 <a href="https://github.com/wibus-wee/InjectGUI">InjectGUI</a> 遇到问题后可以向Wibus的仓库<a href="https://github.com/wibus-wee/InjectGUI/issues">InjectGUI的Issues</a>中提交issues报告,并回退到命令行注入模式。

Python 版本的 “秋城落叶_启动.command” 脚本目前还只是过渡阶段, 所以如果遇到问题,请向QiuChenly提交 <a href="https://github.com/QiuChenly/InjectLib/issues">issues</a> 。
</note>
> 目前基于 SwiftUI 的 [InjectGUI](https://github.com/wibus-wee/InjectGUI) 已经发布,但还处于快速开发迭代阶段,其中部分功能可能并不稳定。<br/>
> 尝试 InjectGUI 遇到问题后可以向 Wibus 的仓库中提交 [issues](https://github.com/wibus-wee/InjectGUI/issues),并回退到命令行注入模式。
>
> Python 版本的 `秋城落叶_启动.command` 脚本目前还只是过渡阶段, 所以如果遇到问题,请向 QuChenly 提交 [issues](report-an-issue.md)
> {style="note"}
输入 `y` 自动解决所有问题,打开 App 即可享受。

1. 直接克隆或下载仓库或直接点击下载本项目的[最新版本zip](https://github.com/QiuChenly/InjectLib/archive/refs/heads/main.zip)
1. 直接克隆或下载仓库或直接点击下载本项目的 [最新版本 zip](https://github.com/QiuChenly/InjectLib/archive/refs/heads/main.zip)
2. 解压后打开文件夹,双击`秋城落叶_启动.command`文件并输入你的 Mac 密码。
3. 当扫描完成后,你需要做的就是:
- 扫描完成后,依次输入 `y/n` 决定是否破解当前扫描到的 App。
Expand All @@ -38,7 +37,7 @@ Python 版本的 “秋城落叶_启动.command” 脚本目前还只是过渡

### 对于程序员或喜欢研究的小伙伴 {#manual}

确保你已安装 [Git](https://git-scm.com/),并且已切换到正确的工作目录。在命令行中运行以下命令
确保你已安装 [Git](https://git-scm.com/),并且已切换到正确的工作目录。在终端中运行以下命令

```Bash
git clone https://github.com/QiuChenly/InjectLib.git
Expand Down
2 changes: 1 addition & 1 deletion Writerside/topics/some-complaints.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 一些抱怨

很多朋友在使用本项目过程中,经常会遇到一些问题,包括但不仅限于:
**很多朋友在使用本项目过程中,经常会遇到一些问题,包括但不仅限于:**

- 无法正常启动 App,然后黑化成为开发者黑粉到处诋毁开发者
- App 破解后崩溃,然后黑化成为开发者黑粉到处诋毁开发者
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<li>前往上述 <a href="https://store.setapp.com/updates/beta.xml">SetApp 更新地址</a> 下载最新版本。</li>
<li>下载完成后,将 Setapp 拖入 Application 中,不要打开,不要打开,不要打开!</li>
<li>运行注入,Setapp 和 SetappAgent 都要注入,只要看到 Setapp 开头的就需要注入!</li>
<li>注入完成后打开,如果提示损坏,请查看 <a href="https://patch-output-4cb.notion.site/App-28a27516cd604bf0b51e3b832a1fea0f?pvs=4">FAQ</a></li>
<li>注入完成后打开,如果提示损坏,请查看 <a href="file-is-damaged.md">FAQ</a></li>
<li>如果看到 QiuChenly 弹窗,说明成功,如果没有看到,说明注入失败。</li>
</ol>
</tab>
Expand All @@ -31,7 +31,7 @@
<li>打开 <code>~/Library/Application Support</code> 文件夹。</li>
<li>找到 Setapp 文件夹,<shortcut>⌘ Command + ⌫ Delete</shortcut> 删除文件夹。</li>
<li>运行注入,Setapp 和 SetappAgent 都要注入,只要看到 Setapp 开头的就需要注入!</li>
<li>注入完成后打开,如果提示损坏,请查看 <a href="https://patch-output-4cb.notion.site/App-28a27516cd604bf0b51e3b832a1fea0f?pvs=4">FAQ</a></li>
<li>注入完成后打开,如果提示损坏,请查看 <a href="file-is-damaged.md">FAQ</a></li>
<li>如果看到 QiuChenly 弹窗,说明成功,如果没有看到,说明注入失败。</li>
</ol>
</tab>
Expand Down
File renamed without changes.

0 comments on commit e7e614d

Please sign in to comment.