Skip to content

Commit

Permalink
更新3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjinhub committed Aug 25, 2019
1 parent b17169a commit b49a4e5
Show file tree
Hide file tree
Showing 33 changed files with 10,743 additions and 292 deletions.
89 changes: 58 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,72 @@

# 介绍

**Thief-Book** 是一款真正的`摸鱼神器`,可以更加隐秘性大胆的看小说。
**Thief-Book** 是一款真正的最强`摸鱼神器`,可以更加隐秘性大胆的看小说,炒股

- **隐蔽性** 自定义透明背景,随意调整大小,完美融入各种软件界面
- **快捷性** 三个快捷键,实现完美的摸鱼
- **跨平台** 支持 Mac+Win,Linux 暂未测试,请自行打包

# VScode

Thief-Book 为用户提供 Vscode 版本,具体请看 https://github.com/cteamx/Thief-Book-VSCode
**Thief-Book** 为用户提供 **Vscode** 版本,具体请看 https://github.com/cteamx/Thief-Book-VSCode

# 下载地址

https://github.com/cteamx/Thief-Book/releases

# 版本区分

- MAC 支持 桌面版 + 任务栏版
- WIN 只有 桌面版
- **MAC** 支持 桌面模式 + 任务栏模式 + TouchBar 模式
- **WIN** 只有 桌面模式

# 使用效果

Mac 任务栏版本,任务栏过多会自动隐藏
### Mac 任务栏模式

> 任务栏过多会自动隐藏
小说演示

![1.png](./images/1.png)

此版本可以随意拖拽,自定义大小,自定义背景颜色和文字颜色
股票演示

![1_1.png](./images/1_1.png)

### Mac + Win 桌面模式

> 此版本可以随意拖拽,自定义大小,自定义背景颜色和文字颜色
>
> Mac 版本,支持 TouchBar 翻页 和 老板键
小说演示

![2.png](./images/2.png)

idea 使用效果
股票演示

![2_2.png](./images/2_2.png)

Mac TouchBar 按键

![x1.jpeg](./images/x1.jpeg)

### Mac TouchBar 模式

> Mac 的朋友们有福了,这可以说是 Thief-Book 最强大的功能了
>
> 注意:必须获取内存框的焦点,才能使用 Touch Bar
![x.jpeg](./images/x.jpeg)

### 实际使用效果

idea 编辑器 使用效果

![2.png](./images/4.png)

设置界面
### 设置界面

GBK 会出现乱码,请勾选乱码选项

Expand All @@ -61,6 +93,18 @@ https://github.com/cteamx/Thief-Book/blob/master/images/win.gif

https://github.com/cteamx/Thief-Book/blob/master/images/mouse.gif

# 注意事项

- **股票** ( 5秒更新一次 ) , 显示格式为 `当前价格`,`跌涨百分比`

- **股票代码格式**,列:贵州茅台 ( 600519.SH ) ,设置里写 **sh600519**

- **TouchBar模式** 必须获取内存框的焦点,才能使用 **Touch Bar**

- **乱码问题** 勾选乱码选择框即可



# 快捷键

## 默认按键
Expand Down Expand Up @@ -159,39 +203,22 @@ or

or

Json文件路径:C:\Users\Administrator\AppData\Roaming\thief-book
Json文件路径

Win: C:\Users\Administrator\AppData\Roaming\thief-book

快捷键设置错打开会报错,找到 thief_data.json 没有就搜索 thief_data.json 修改里面的快捷键信息即可

Mac:open -e ~/Library/Application\ Support/thief-book/thief_data.json (执行这个编辑即可)

or

把 thief_data.json 删掉, 删掉重启即可,当前页码会清空,请先记住页码在删除

# TODO

- [x] 任务栏版本
- [x] 桌面版本
- [x] 设置小说路径
- [x] 设置当前页数
- [x] 设置每页字数
- [x] 老板键
- [x] 上一页
- [x] 下一页
- [x] 英文小说支持
- [x] 自定义换行符号
- [x] 自定义桌面版背景
- [x] 自定义桌面版字体颜色
- [x] 跨平台兼容
- [x] 桌面版随意拖动,随意调整大小
- [x] 桌面版窗口永远顶置
- [x] 自定义文字大小
- [x] 自动翻页
- [x] 自定义快捷键
- [x] 支持 GBK
- [x] 鼠标模式
- [ ] 多本小说管理
- [ ] 在线小说下载
- [ ] 股票支持

## 关于

Expand All @@ -200,6 +227,6 @@ or

## 反馈群

加微信,备注拉人
加微信,备注 摸鱼 拉人

![wechat](./images/wechat.jpg)
29 changes: 29 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: 0.1.{build}

branches:
only:
- master

image: Visual Studio 2017
platform:
- x64

cache:
- node_modules
- '%APPDATA%\npm-cache'
- '%USERPROFILE%\.electron'
- '%USERPROFILE%\AppData\Local\Yarn\cache'

init:
- git config --global core.autocrlf input

install:
- ps: Install-Product node 8 x64
- git reset --hard HEAD
- yarn
- node --version

build_script:
- yarn build

test: off
Binary file modified build/.DS_Store
Binary file not shown.
Binary file modified build/icons/.DS_Store
Binary file not shown.
Binary file removed dist/.DS_Store
Binary file not shown.
Binary file added dist/electron/imgs/wechat--assets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
849 changes: 848 additions & 1 deletion dist/electron/main.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/electron/renderer.js

Large diffs are not rendered by default.

Binary file modified dist/electron/static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/electron/static/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/1_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/2_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/t.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/x.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/x1.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "thief-book",
"version": "2.0.0",
"author": "lauix <lauixData@gamil.com>",
"version": "3.0.0",
"author": "SanJin <sanjinhub@gamil.com>",
"description": "An electron-vue project",
"license": "MIT",
"main": "./dist/electron/main.js",
Expand Down Expand Up @@ -62,6 +62,7 @@
"iconv-lite": "^0.5.0",
"lodash-id": "^0.14.0",
"lowdb": "^1.0.0",
"request": "^2.88.0",
"vue": "^2.5.16",
"vue-electron": "^1.0.6",
"vue-router": "^3.0.1",
Expand Down
Loading

0 comments on commit b49a4e5

Please sign in to comment.