Skip to content

Commit d162d16

Browse files
committed
scriptable: SGCC v1.1.1
修复小组件加载超时,原谅我的愚蠢
1 parent 5182ab3 commit d162d16

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/SGCC.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* 如何添加多户:长按桌面小组件,编辑添加参数,输入从 0 开始的整数,0 代表第一户,1 代表第二户,以此类推
77
* 重写: https://raw.githubusercontent.com/dompling/Script/master/wsgw/index.js
88
*
9-
* @version 1.1.0
9+
* @version 1.1.1
1010
* @author Honye
1111
*/
1212

@@ -1125,7 +1125,7 @@ const getLogo = async () => {
11251125
const filename = 'logo.png';
11261126
const cached = cache.readImage(filename);
11271127
if (cached) return cached
1128-
const image = await getImage('http://192.168.0.107:3000/sgcc.png');
1128+
const image = await getImage('https://raw.githubusercontent.com/Honye/scriptable-scripts/refs/heads/master/static/sgcc.png');
11291129
cache.writeImage(filename, image);
11301130
return image
11311131
};

src/SGCC.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const getLogo = async () => {
4141
const filename = 'logo.png'
4242
const cached = cache.readImage(filename)
4343
if (cached) return cached
44-
const image = await getImage('http://192.168.0.107:3000/sgcc.png')
44+
const image = await getImage('https://raw.githubusercontent.com/Honye/scriptable-scripts/refs/heads/master/static/sgcc.png')
4545
cache.writeImage(filename, image)
4646
return image
4747
}

src/SGCC.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.1.0",
2+
"version": "1.1.1",
33
"description": [
44
"网上国网小组件",
55
"如何添加多户:长按桌面小组件,编辑添加参数,输入从 0 开始的整数,0 代表第一户,1 代表第二户,以此类推",

static/sgcc.png

4.52 KB
Loading

0 commit comments

Comments
 (0)