Skip to content

Commit

Permalink
Merge pull request #609 from taotieren/Update_Linux
Browse files Browse the repository at this point in the history
update archlinux install
  • Loading branch information
hectorqin authored Dec 7, 2024
2 parents 0456a05 + 736c080 commit 247a60b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [WebDAV同步配置](#webdav同步配置)
- [客户端](#客户端)
- [Windows / MacOS / Linux](#windows--macos--linux)
- [Arch Linux 安装](#Arch-Linux-安装)
- [配置文件](#配置文件)
- [手机端](#手机端)
- [服务器版](#服务器版)
Expand Down Expand Up @@ -186,6 +187,35 @@ reader:

MacOS 版 `storage` 默认是 `用户目录/.reader/storage`,其它版本 `storage` 默认是 `程序目录/storage`

### Arch Linux 安装

[AUR 仓库](https://aur.archlinux.org/packages/reader-pro-bin)安装或[自建软件源](https://github.com/taotieren/aur-repo)


```bash
yay -Syu reader-pro
# 开启开机自启
sudo systemctl enable reader-pro-single
sudo systemctl enable reader-pro-multi
# 运行
sudo systemctl start reader-pro-single
sudo systemctl start reader-pro-multi
# 状态
sudo systemctl status reader-pro-single
sudo systemctl status reader-pro-multi
# 停止
sudo systemctl stop reader-pro-single
sudo systemctl stop reader-pro-multi
# 停止开机自启
sudo systemctl disable reader-pro-single
sudo systemctl disable reader-pro-multi
```

> Arch Linux 的存储目录是 `/var/lib/reader-pro/`
> Arch Linux 的配置文件是 `/usr/share/java/reader-pro/conf/application.properties`

#### 配置文件

`storage/windowConfig.json`
Expand Down

0 comments on commit 247a60b

Please sign in to comment.