Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31a22327f1 | ||
|
|
c1712bebc6 | ||
|
|
cd91541245 | ||
|
|
4c1fc83256 |
@@ -7,6 +7,7 @@ export const versionHistory = [
|
|||||||
<ul>
|
<ul>
|
||||||
<li>в настройки добавлена возможность назначать сочетания клавиш на команды в читалке</li>
|
<li>в настройки добавлена возможность назначать сочетания клавиш на команды в читалке</li>
|
||||||
<li>переход на Service Worker вместо AppCache для автономного режима работы</li>
|
<li>переход на Service Worker вместо AppCache для автономного режима работы</li>
|
||||||
|
<li>исправления багов</li>
|
||||||
</ul>
|
</ul>
|
||||||
`
|
`
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ const signatures = require('./signatures.json');
|
|||||||
class FileDetector {
|
class FileDetector {
|
||||||
detectFile(filename) {
|
detectFile(filename) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
this.fromFile(filename, 2000, (err, result) => {
|
this.fromFile(filename, 10000, (err, result) => {
|
||||||
if (err) reject(err);
|
if (err) reject(err);
|
||||||
resolve(result);
|
resolve(result);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -662,31 +662,6 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
"type": "html",
|
|
||||||
"ext": "html",
|
|
||||||
"mime": "text/html",
|
|
||||||
"rules": [
|
|
||||||
{ "type": "or", "rules":
|
|
||||||
[
|
|
||||||
{ "type": "contains", "bytes": "3c68746d6c" },
|
|
||||||
{ "type": "contains", "bytes": "3c00680074006d006c00" },
|
|
||||||
{ "type": "equal", "end": 5, "bytes": "3c68746d6c" },
|
|
||||||
{ "type": "equal", "end": 10, "bytes": "3c00680074006d006c00" },
|
|
||||||
{ "type": "equal", "end": 9, "bytes": "3c21646f6374797065" },
|
|
||||||
{ "type": "equal", "end": 5, "bytes": "3c626f6479" },
|
|
||||||
{ "type": "equal", "end": 5, "bytes": "3c68656164" },
|
|
||||||
{ "type": "equal", "end": 7, "bytes": "3c696672616d65" },
|
|
||||||
{ "type": "equal", "end": 4, "bytes": "3c696d67" },
|
|
||||||
{ "type": "equal", "end": 7, "bytes": "3c6f626a656374" },
|
|
||||||
{ "type": "equal", "end": 7, "bytes": "3c736372697074" },
|
|
||||||
{ "type": "equal", "end": 6, "bytes": "3c7461626c65" },
|
|
||||||
{ "type": "equal", "end": 6, "bytes": "3c7469746c65" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"type": "docx",
|
"type": "docx",
|
||||||
"ext": "docx",
|
"ext": "docx",
|
||||||
@@ -721,6 +696,35 @@
|
|||||||
"rules": [
|
"rules": [
|
||||||
{ "type": "equal", "start": 64, "end": 68, "bytes": "4d4f4249" }
|
{ "type": "equal", "start": 64, "end": 68, "bytes": "4d4f4249" }
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"type": "html",
|
||||||
|
"ext": "html",
|
||||||
|
"mime": "text/html",
|
||||||
|
"rules": [
|
||||||
|
{ "type": "or", "rules":
|
||||||
|
[
|
||||||
|
{ "type": "contains", "bytes": "3c68746d6c" },
|
||||||
|
{ "type": "contains", "bytes": "3c00680074006d006c00" },
|
||||||
|
{ "type": "contains", "bytes": "3c48544d4c" },
|
||||||
|
{ "type": "contains", "bytes": "3c00480054004d004c00" },
|
||||||
|
|
||||||
|
{ "type": "equal", "end": 5, "bytes": "3c68746d6c" },
|
||||||
|
{ "type": "equal", "end": 10, "bytes": "3c00680074006d006c00" },
|
||||||
|
{ "type": "equal", "end": 9, "bytes": "3c21646f6374797065" },
|
||||||
|
{ "type": "equal", "end": 9, "bytes": "3c21444f4354595045" },
|
||||||
|
{ "type": "equal", "end": 5, "bytes": "3c626f6479" },
|
||||||
|
{ "type": "equal", "end": 5, "bytes": "3c68656164" },
|
||||||
|
{ "type": "equal", "end": 7, "bytes": "3c696672616d65" },
|
||||||
|
{ "type": "equal", "end": 4, "bytes": "3c696d67" },
|
||||||
|
{ "type": "equal", "end": 7, "bytes": "3c6f626a656374" },
|
||||||
|
{ "type": "equal", "end": 7, "bytes": "3c736372697074" },
|
||||||
|
{ "type": "equal", "end": 6, "bytes": "3c7461626c65" },
|
||||||
|
{ "type": "equal", "end": 6, "bytes": "3c7469746c65" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user