mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-21 06:10:56 -04:00
fix bug
Former-commit-id: 12681ed633a334daffc7af9150b8427435a43e0b
This commit is contained in:
8
main.ts
8
main.ts
@@ -29,10 +29,10 @@ app.on("ready", () => {
|
||||
height: 660,
|
||||
webPreferences: { webSecurity: false, nodeIntegration: true },
|
||||
});
|
||||
if (!isDev) {
|
||||
const { Menu } = require("electron");
|
||||
Menu.setApplicationMenu(null);
|
||||
}
|
||||
// if (!isDev) {
|
||||
// const { Menu } = require("electron");
|
||||
// Menu.setApplicationMenu(null);
|
||||
// }
|
||||
|
||||
const urlLocation = isDev
|
||||
? "http://localhost:3000/"
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
"copy-text-to-clipboard": "^2.2.0",
|
||||
"dropbox": "^5.2.0",
|
||||
"electron-is-dev": "^1.1.0",
|
||||
"epubjs": "^0.3.88",
|
||||
"font-list": "^1.2.11",
|
||||
"html-react-parser": "^0.13.0",
|
||||
"i18next": "^19.4.4",
|
||||
"i18next-browser-languagedetector": "^4.2.0",
|
||||
"is-electron": "^2.2.0",
|
||||
@@ -142,6 +139,9 @@
|
||||
"sass-loader": "^8.0.0",
|
||||
"spark-md5": "^3.0.1",
|
||||
"typescript": "^3.8.3",
|
||||
"wait-on": "^3.3.0"
|
||||
"wait-on": "^3.3.0",
|
||||
"epubjs": "^0.3.88",
|
||||
"font-list": "^1.2.11",
|
||||
"html-react-parser": "^0.13.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
line-height: 15px;
|
||||
color: rgba(75, 75, 75, 1);
|
||||
opacity: 1;
|
||||
margin: 20px 20px 10px;
|
||||
margin: 20px 0px 10px;
|
||||
text-align: center;
|
||||
width: 346px;
|
||||
}
|
||||
@@ -47,7 +47,7 @@
|
||||
margin-top: 10px;
|
||||
height: 300px;
|
||||
overflow-y: scroll;
|
||||
width: 320px;
|
||||
width: 346px;
|
||||
}
|
||||
.update-dialog-illustration {
|
||||
width: 200px;
|
||||
|
||||
@@ -16,6 +16,7 @@ class UpdateInfo extends React.Component<UpdateInfoProps, UpdateInfoState> {
|
||||
axios
|
||||
.get("https://koodo.960960.xyz/update")
|
||||
.then((res) => {
|
||||
console.log(res);
|
||||
const download = res.data.download;
|
||||
const version = res.data.log.version;
|
||||
// console.log(version, "version");
|
||||
|
||||
@@ -44,7 +44,7 @@ export const themeList = [
|
||||
export const updateLog = {
|
||||
date: "2020.9.6",
|
||||
new: [
|
||||
"现在 Koodo Reader 支持全书搜索啦",
|
||||
"支持全书搜索",
|
||||
"客户端版本支持使用本地字体",
|
||||
"单页模式新增滚动阅读功能",
|
||||
"新增对epub文件内置样式的支持",
|
||||
|
||||
Reference in New Issue
Block a user