mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-10-10 16:33:23 +08:00
v0.0.2
This commit is contained in:
@@ -140,8 +140,7 @@ showOptions = () => {
|
||||
break;
|
||||
}
|
||||
}
|
||||
var editBtn = "",
|
||||
logoDir = "";
|
||||
var editBtn = "";
|
||||
if (allFts[fts].type != "default") {
|
||||
editBtn = `<span class="editBtn" code="${features.code}">✎</span>
|
||||
<span class="delBtn" code="${features.code}">✘</span>`;
|
||||
@@ -268,32 +267,16 @@ $("#options").on('click', '.saveBtn', function () {
|
||||
desc = $('#desc').val(),
|
||||
p = $('#path').val();
|
||||
$("#customize").animate({ right: '-370px' });
|
||||
var pushData = {},
|
||||
icon,
|
||||
type
|
||||
if (window.exists(`${p}/docSet.dsidx`)) {
|
||||
if (!window.exists(`${p}/${code}.json`)) {
|
||||
if (window.exists(`${p}/Tokens.xml`)) {
|
||||
window.xml2Json(`${p}/Tokens.xml`, `${p}/${code}.json`)
|
||||
} else {
|
||||
window.sqlite2Json(`${p}/docSet.dsidx`, `${p}/${code}.json`)
|
||||
}
|
||||
}
|
||||
icon = `${p}/../../icon@2x.png`;
|
||||
type = 'dash';
|
||||
} else {
|
||||
icon = `${p}/${code}.png`
|
||||
type = 'custom';
|
||||
}
|
||||
var pushData = {};
|
||||
pushData[code] = {
|
||||
features: {
|
||||
"code": code,
|
||||
"explain": desc,
|
||||
"cmds": kw,
|
||||
"icon": icon
|
||||
"icon": `${p}/${code}.png`
|
||||
},
|
||||
path: p,
|
||||
type: type
|
||||
type: 'custom'
|
||||
}
|
||||
var db = utools.db.get("customFts");
|
||||
if (db) {
|
||||
|
BIN
bin/sqlite3
BIN
bin/sqlite3
Binary file not shown.
BIN
bin/sqlite3.exe
BIN
bin/sqlite3.exe
Binary file not shown.
BIN
docs/.DS_Store
vendored
BIN
docs/.DS_Store
vendored
Binary file not shown.
BIN
releases/.DS_Store → docs/javascript/.DS_Store
vendored
BIN
releases/.DS_Store → docs/javascript/.DS_Store
vendored
Binary file not shown.
@@ -5,7 +5,6 @@
|
||||
"version": "0.0.2",
|
||||
"author": "云之轩",
|
||||
"logo": "logo.png",
|
||||
"unpack": "sqlite3*",
|
||||
"platform": [
|
||||
"win32",
|
||||
"darwin"
|
||||
|
Reference in New Issue
Block a user