-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25e762d
commit 7faaed5
Showing
6 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
# RapidYouDaoNote | ||
给自己~~开发~~随便弄的一个轻量级Linux版有道云笔记客户端 | ||
## 下载 | ||
[下载最新版本] | ||
## 基于[electron]开发 | ||
[electron]大法好,~~有了electron,腰不酸了腿不痛了~~ | ||
## 使用方法 | ||
下载之后解压,然后双击rapidyoudaonote就成了。 | ||
关闭的时候要先退出微信,才能关闭。(不会出现不小心关了还要重新扫码的~~事故~~了。) | ||
## 安全 | ||
直接使用有道云笔记网页版进行封装,没有对数据传输做任何干预与处理,和使用网页版一样安全。 | ||
## 为啥要弄个这玩意? | ||
懒得打开浏览器 | ||
## 源码如何使用 | ||
##### 部署: | ||
./code文件夹下是代码,clone或者download之后进入该文件夹,下载[electron] | ||
##### 运行: | ||
```sh | ||
npx electron . | ||
``` | ||
##### 重新打包 | ||
请参考[electron]文档 | ||
|
||
## 截图 | ||
扫码登录界面: | ||
<p align="center"> | ||
<img src="https://github.com/iBeiKeCyn/rapidwechat/blob/master/screenshot/pic.png?raw=true" alt="chat"> | ||
</p> | ||
|
||
|
||
|
||
|
||
|
||
[下载最新版本]: https://github.com/iBeiKeCyn/RapidYouDaoNote/releases | ||
[electron]: https://github.com/electron/electron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>RapidYouDaoNote</title> | ||
<meta http-equiv="refresh" content="0;url=https://note.youdao.com/signIn/index.html?&callback=https%3A%2F%2Fnote.youdao.com%2Fweb%2F&from=web"> | ||
</head> | ||
<body> | ||
loading! | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
const {app, BrowserWindow} = require('electron') | ||
const path = require('path') | ||
const url = require('url') | ||
|
||
let win | ||
function createWindow () { | ||
win = new BrowserWindow({ | ||
width: 1000, | ||
height: 800, | ||
icon: path.join(__dirname,'resources/icon/icon.png') | ||
}) | ||
win.loadURL(url.format({ | ||
pathname: path.join(__dirname, 'index.html'), | ||
protocol: 'file:', | ||
slashes: true | ||
})) | ||
win.on('closed', () => { | ||
win = null | ||
}) | ||
} | ||
app.on('ready', createWindow) | ||
app.on('window-all-closed', () => { | ||
if (process.platform !== 'darwin') { | ||
app.quit() | ||
} | ||
}) | ||
app.on('activate', () => { | ||
if (win === null) { | ||
createWindow() | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name" : "RapidYouDaoNote", | ||
"version" : "0.1.0", | ||
"main" : "main.js" | ||
|
||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.