From d515cc5f677f04ba5677dd689fae50a538c81b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Tue, 7 Mar 2023 17:07:17 +0800 Subject: [PATCH] :bug: Fix: fix picbed config page scroll bug --- FAQ.md | 54 +--------------------------- README.md | 7 ++-- src/renderer/pages/picbeds/index.vue | 3 ++ vue.config.js | 2 +- 4 files changed, 8 insertions(+), 58 deletions(-) diff --git a/FAQ.md b/FAQ.md index 9106d81..86cdb18 100644 --- a/FAQ.md +++ b/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/ -``` \ No newline at end of file +请升级PicList 1.4.1或以上版本,自1.4.1开始,PicList已经经过Apple的签名,不会再出现这种情况。 \ No newline at end of file diff --git a/README.md b/README.md index c8a53a8..ac3e96b 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt - 管理界面使用内置数据库缓存目录,加速目录加载速度 - 对于私有存储桶等支持复制预签名链接进行分享 - 优化了PicGo的界面,解锁了窗口大小限制,同时美化了部分界面布局 +- mac平台安装包已签名,从源头解决了PicGo上的安装包已损坏的日经问题 ## 已支持平台 @@ -57,11 +58,9 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt ### Mac特殊说明 -如果macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应,请参考[FAQ说明](https://github.com/Kuingsmile/PicList/blob/dev/FAQ.md)的第11条,或者直接尝试下面的命令: +如果macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应,请升级到PicList V1.4.1以上版本。 -```bash -sudo xattr -d com.apple.quarantine /Applications/PicList.app/ -``` +从V1.4.1版本开始,所有的mac安装包均经过了我的开发者证书签名,不会再被macOS系统识别为「恶意软件」,不会再出现「文件已损坏」的提示。 ## 应用截图 diff --git a/src/renderer/pages/picbeds/index.vue b/src/renderer/pages/picbeds/index.vue index 03b9079..a21f7ed 100644 --- a/src/renderer/pages/picbeds/index.vue +++ b/src/renderer/pages/picbeds/index.vue @@ -97,6 +97,9 @@ export default {