From 506bddb21a5c26df5b41ce0caae7637b6e321e66 Mon Sep 17 00:00:00 2001 From: idranme Date: Fri, 13 Sep 2024 17:28:01 +0800 Subject: [PATCH] chore: style --- scripts/gen-manifest.ts | 2 +- src/common/globalVars.ts | 2 +- src/common/types.ts | 2 +- src/global.d.ts | 2 +- src/main/log.ts | 2 +- src/ntqqapi/core.ts | 2 +- src/ntqqapi/hook.ts | 2 +- src/ntqqapi/ntcall.ts | 2 +- src/ntqqapi/wrapper.ts | 2 +- src/renderer/icon.ts | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/scripts/gen-manifest.ts b/scripts/gen-manifest.ts index 2794a65..7169fba 100644 --- a/scripts/gen-manifest.ts +++ b/scripts/gen-manifest.ts @@ -35,4 +35,4 @@ const manifest = { } } -writeFileSync('manifest.json', JSON.stringify(manifest, null, 2)) \ No newline at end of file +writeFileSync('manifest.json', JSON.stringify(manifest, null, 2)) diff --git a/src/common/globalVars.ts b/src/common/globalVars.ts index 51a543a..a419282 100644 --- a/src/common/globalVars.ts +++ b/src/common/globalVars.ts @@ -19,4 +19,4 @@ export const selfInfo: SelfInfo = { uin: '', nick: '', online: true, -} \ No newline at end of file +} diff --git a/src/common/types.ts b/src/common/types.ts index 7379733..9439806 100644 --- a/src/common/types.ts +++ b/src/common/types.ts @@ -70,4 +70,4 @@ export interface FileCacheV2 { chatType: number elementId: string elementType: number -} \ No newline at end of file +} diff --git a/src/global.d.ts b/src/global.d.ts index 342e90e..3e27393 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -6,4 +6,4 @@ declare global { var LiteLoader: Dict var authData: Dict | undefined var navigation: Dict | undefined -} \ No newline at end of file +} diff --git a/src/main/log.ts b/src/main/log.ts index b661261..a955da6 100644 --- a/src/main/log.ts +++ b/src/main/log.ts @@ -33,4 +33,4 @@ export default class Log { enable = input.log! }) } -} \ No newline at end of file +} diff --git a/src/ntqqapi/core.ts b/src/ntqqapi/core.ts index d4cc923..2d32bc4 100644 --- a/src/ntqqapi/core.ts +++ b/src/ntqqapi/core.ts @@ -237,4 +237,4 @@ namespace Core { } } -export default Core \ No newline at end of file +export default Core diff --git a/src/ntqqapi/hook.ts b/src/ntqqapi/hook.ts index eddfa16..f973183 100644 --- a/src/ntqqapi/hook.ts +++ b/src/ntqqapi/hook.ts @@ -173,4 +173,4 @@ export function registerCallHook( export function removeReceiveHook(id: string) { const index = receiveHooks.findIndex((h) => h.id === id) receiveHooks.splice(index, 1) -} \ No newline at end of file +} diff --git a/src/ntqqapi/ntcall.ts b/src/ntqqapi/ntcall.ts index de47f0d..a0f606d 100644 --- a/src/ntqqapi/ntcall.ts +++ b/src/ntqqapi/ntcall.ts @@ -181,4 +181,4 @@ export function invoke< apiArgs, ) }) -} \ No newline at end of file +} diff --git a/src/ntqqapi/wrapper.ts b/src/ntqqapi/wrapper.ts index 6530797..fc00750 100644 --- a/src/ntqqapi/wrapper.ts +++ b/src/ntqqapi/wrapper.ts @@ -78,4 +78,4 @@ Process.dlopen = function (module: Dict, filename: string, flags = constants.dlo export function getSession() { return wrapperApi['NodeIQQNTWrapperSession'] -} \ No newline at end of file +} diff --git a/src/renderer/icon.ts b/src/renderer/icon.ts index fc8c30a..3744a5e 100644 --- a/src/renderer/icon.ts +++ b/src/renderer/icon.ts @@ -1,7 +1,7 @@ export const iconSvg = ` - +