mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-01 09:39:37 +08:00
🐛 Fix: fix picbed config page scroll bug
This commit is contained in:
54
FAQ.md
54
FAQ.md
@@ -75,56 +75,4 @@ PicList 在 Mac 上是一个顶部栏应用,在 dock 栏是不会有图标的
|
||||
|
||||
## 11. macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应
|
||||
|
||||
因为 PicList 没有签名,所以会被 macOS 的安全检查所拦下。
|
||||
|
||||
1. 安装后打开遇到「文件已损坏」的情况,请按如下方式操作:
|
||||
|
||||
信任开发者,会要求输入密码:
|
||||
|
||||
```bash
|
||||
sudo spctl --master-disable
|
||||
```
|
||||
|
||||
然后放行 PicList :
|
||||
|
||||
```bash
|
||||
xattr -cr /Applications/PicList.app
|
||||
```
|
||||
|
||||
然后就能正常打开。
|
||||
|
||||
如果提示以下内容
|
||||
|
||||
```sh
|
||||
option -r not recognized
|
||||
|
||||
usage: xattr [-slz] file [file ...]
|
||||
xattr -p [-slz] attr_name file [file ...]
|
||||
xattr -w [-sz] attr_name attr_value file [file ...]
|
||||
xattr -d [-s] attr_name file [file ...]
|
||||
xattr -c [-s] file [file ...]
|
||||
|
||||
The first form lists the names of all xattrs on the given file(s).
|
||||
The second form (-p) prints the value of the xattr attr_name.
|
||||
The third form (-w) sets the value of the xattr attr_name to attr_value.
|
||||
The fourth form (-d) deletes the xattr attr_name.
|
||||
The fifth form (-c) deletes (clears) all xattrs.
|
||||
|
||||
options:
|
||||
-h: print this help
|
||||
-s: act on symbolic links themselves rather than their targets
|
||||
-l: print long format (attr_name: attr_value)
|
||||
-z: compress or decompress (if compressed) attribute value in zip format
|
||||
```
|
||||
|
||||
执行命令
|
||||
|
||||
```bash
|
||||
xattr -c /Applications/PicList.app/*
|
||||
```
|
||||
|
||||
如果上述命令依然没有效果,可以尝试下面的命令:
|
||||
|
||||
```bash
|
||||
sudo xattr -d com.apple.quarantine /Applications/PicList.app/
|
||||
```
|
||||
请升级PicList 1.4.1或以上版本,自1.4.1开始,PicList已经经过Apple的签名,不会再出现这种情况。
|
||||
Reference in New Issue
Block a user