macOS Application Installation Guide / macOS 应用安装指南

macOS 应用安装指南

macOS Application Installation Guide

未签名应用安装与使用说明

Unsigned Application Installation and Usage Instructions

注意:由于本应用未经过Apple代码签名,首次打开时macOS会阻止运行。请按照以下步骤操作。

Mac版本不支持应用内自动更新和固件更新功能。如需更新应用,请访问官网下载最新版本。

安装方法

方法一:通过系统偏好设置(推荐)

  1. 双击打开.dmg文件
  2. 将应用拖拽到"应用程序"文件夹
  3. 首次打开应用时,会提示"无法打开,因为它来自身份不明的开发者"
  4. 打开系统偏好设置 → 安全性与隐私 → 通用
  5. 在底部会看到"已阻止使用XXX,因为来自身份不明的开发者"
  6. 点击仍要打开
  7. 在弹出的对话框中再次点击打开

方法二:通过终端命令(更快捷)

打开终端(Terminal),执行以下命令:

# 移除应用的隔离属性
xattr -cr /Applications/hanlinyue.app

# 或者使用 sudo(如果上面的命令无效)
sudo xattr -cr /Applications/hanlinyue.app

然后就可以正常打开应用了。

方法三:右键打开

  1. 在应用程序中找到hanlinyue.app
  2. 按住Control键并点击应用图标
  3. 在弹出菜单中选择打开
  4. 在弹出的对话框中点击打开

常见问题

Q:提示"应用已损坏,无法打开"

这通常是因为下载时被标记了隔离属性,使用方法二的终端命令即可解决。

Q:每次打开都需要授权?

第一次成功打开后,系统会记住您的选择,后续无需再次授权。

本指南适用于未签名的macOS应用安装与使用

Note: Since this application is not signed with an Apple code signature, macOS will prevent it from running when opened for the first time. Please follow the steps below.

The Mac version does not support in-app automatic updates and firmware update functions. To update the application, please visit the official website to download the latest version.

Installation Methods

Method 1: Through System Preferences (Recommended)

  1. Double-click to open the .dmg file
  2. Drag the application to the "Applications" folder
  3. When opening the application for the first time, you will be prompted with "Cannot be opened because it is from an unidentified developer"
  4. Open System Preferences → Security & Privacy → General
  5. At the bottom, you will see "XXX was blocked because it is from an unidentified developer"
  6. Click "Open Anyway"
  7. Click "Open" again in the pop-up dialog

Method 2: Through Terminal Command (Faster)

Open Terminal and execute the following command:

# Remove the quarantine attribute from the application
xattr -cr /Applications/hanlinyue.app

# Or use sudo (if the above command doesn't work)
sudo xattr -cr /Applications/hanlinyue.app

Then you can open the application normally.

Method 3: Right-click to Open

  1. Find hanlinyue.app in the Applications folder
  2. Hold down the Control key and click on the application icon
  3. Select "Open" from the context menu
  4. Click "Open" in the pop-up dialog

Frequently Asked Questions

Q: It says "Application is damaged and cannot be opened"

This is usually because the download was marked with a quarantine attribute. Use Method 2's terminal command to resolve this.

Q: Do I need authorization every time I open it?

After successfully opening it for the first time, the system will remember your choice, and no further authorization is required.

This guide is applicable for the installation and use of unsigned macOS applications