Skip to content

Commit

Permalink
Merge pull request #34 from Hi-Windom/dev2212
Browse files Browse the repository at this point in the history
1.0.3
  • Loading branch information
Soltus authored Dec 15, 2022
2 parents d29b5ea + fd5277c commit 610c987
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions script/module/XML/extend_CPDialog_container_extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export const configBazaarS3 = `
<use xlink:href="#iconDownload"></use>
</svg>
<span class="fn__space"></span>
<span class="fn__flex-center">2035</span>
<span class="fn__flex-center">58131186</span>
</div>
<div class="b3-card__actions" data-name="Sofill-" data-url="https://github.com/Hi-Windom/winsay"
data-hash="16681e3e195d2d8b4eb366843dc0ee1f907e2c8d">
Expand Down Expand Up @@ -211,7 +211,7 @@ export const configBazaarPlugin = `
<use xlink:href="#iconDownload"></use>
</svg>
<span class="fn__space"></span>
<span class="fn__flex-center">3271</span>
<span class="fn__flex-center">69435</span>
</div>
<div class="b3-card__actions" data-name="导出助手" data-url=""
data-hash="ea28261f3e03d0f325dca9bd1184562dcf7c3751">
Expand Down
15 changes: 7 additions & 8 deletions theme.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
window.theme = {};
window.funs = {};
var fs = null;
var path = null;
var clientMode = (() => {
Expand All @@ -17,7 +15,7 @@ var clientMode = (() => {
})();
document.body.classList.add(clientMode);
document.body.classList.add(window.siyuan.config.system.os);
let isAppMode = document
var isAppMode = document
.getElementsByTagName("body")[0]
.classList.contains("android")
? false
Expand All @@ -32,7 +30,8 @@ if (isAppMode) {
path = require("path");
console.log("isAppMode");
}

window.theme = {};
window.funs = {};
/**
* 获取操作系统 'windows' 或 'darwin' (MacOS) 或 'android'
*/
Expand Down Expand Up @@ -107,12 +106,12 @@ window.funs.addURLParam = function (
}
};

let SelfProtection = localStorage.getItem(
var SelfProtection = localStorage.getItem(
"SC_winsay_cp_system__SelfProtection"
);
let P = [];
let bP = "";
let bP_lili = "";
var P = [];
var bP = "";
var bP_lili = "";
path
? (bP = path.join(
window.siyuan.config.system.confDir,
Expand Down
2 changes: 1 addition & 1 deletion theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Sofill=",
"author": "Soltus",
"url": "https://github.com/Hi-Windom/lili",
"version": "1.0.2",
"version": "1.0.3",
"modes": [
"light"
]
Expand Down

0 comments on commit 610c987

Please sign in to comment.