🐛 Fix: fix picbed config page scroll bug

This commit is contained in:
萌萌哒赫萝 2023-03-07 17:07:17 +08:00
parent ab4836352c
commit d515cc5f67
4 changed files with 8 additions and 58 deletions

54
FAQ.md
View File

@ -75,56 +75,4 @@ PicList 在 Mac 上是一个顶部栏应用,在 dock 栏是不会有图标的
## 11. macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应 ## 11. macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应
因为 PicList 没有签名,所以会被 macOS 的安全检查所拦下。 请升级PicList 1.4.1或以上版本自1.4.1开始PicList已经经过Apple的签名不会再出现这种情况。
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/
```

View File

@ -32,6 +32,7 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt
- 管理界面使用内置数据库缓存目录,加速目录加载速度 - 管理界面使用内置数据库缓存目录,加速目录加载速度
- 对于私有存储桶等支持复制预签名链接进行分享 - 对于私有存储桶等支持复制预签名链接进行分享
- 优化了PicGo的界面解锁了窗口大小限制同时美化了部分界面布局 - 优化了PicGo的界面解锁了窗口大小限制同时美化了部分界面布局
- mac平台安装包已签名从源头解决了PicGo上的安装包已损坏的日经问题
## 已支持平台 ## 已支持平台
@ -57,11 +58,9 @@ PicList的内核使用的是原版PicGo-Core基础上修改的[PicList-core](htt
### Mac特殊说明 ### Mac特殊说明
如果macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应参考[FAQ说明](https://github.com/Kuingsmile/PicList/blob/dev/FAQ.md)的第11条或者直接尝试下面的命令 如果macOS系统安装完PicList显示「文件已损坏」或者安装完打开没有反应升级到PicList V1.4.1以上版本。
```bash 从V1.4.1版本开始所有的mac安装包均经过了我的开发者证书签名不会再被macOS系统识别为「恶意软件」不会再出现「文件已损坏」的提示。
sudo xattr -d com.apple.quarantine /Applications/PicList.app/
```
## 应用截图 ## 应用截图

View File

@ -97,6 +97,9 @@ export default {
</script> </script>
<style lang='stylus'> <style lang='stylus'>
#picbeds-page #picbeds-page
height 100%
overflow-y auto
overflow-x hidden
.setting-list .setting-list
height 100% height 100%
overflow-y auto overflow-y auto

View File

@ -40,7 +40,7 @@ const config = {
builderOptions: { builderOptions: {
productName: 'PicList', productName: 'PicList',
appId: 'com.kuingsmile.piclist', appId: 'com.kuingsmile.piclist',
afterSign: "scripts/notarize.js", afterSign: 'scripts/notarize.js',
publish: [ publish: [
{ {
provider: 'github', provider: 'github',