release: 1.4.0

This commit is contained in:
手瓜一十雪 2024-05-25 19:22:52 +08:00
parent b6ed8d4975
commit 68af73970e
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "1.3.9",
"version": "1.4.0",
"scripts": {
"watch:dev": "vite --mode development",
"watch:prod": "vite --mode production",

View File

@ -60,7 +60,7 @@ export class GetCookies extends BaseAction<Payload, Response> {
if (!_PSkey || !_Skey) {
throw new Error('获取Cookies失败');
}
const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}`;
const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`;
return {
cookies
};

View File

@ -1 +1 @@
export const version = '1.3.9';
export const version = '1.4.0';

View File

@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.3.9', 'napcat-update-button', 'secondary')
SettingButton('V1.4.0', 'napcat-update-button', 'secondary')
),
]),
SettingList([

View File

@ -166,7 +166,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V1.3.9", "napcat-update-button", "secondary")
SettingButton("V1.4.0", "napcat-update-button", "secondary")
)
]),
SettingList([