summaryrefslogtreecommitdiff
path: root/src/preload
diff options
context:
space:
mode:
Diffstat (limited to 'src/preload')
-rw-r--r--src/preload/index.d.ts3
-rw-r--r--src/preload/index.ts3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/preload/index.d.ts b/src/preload/index.d.ts
index ccfa000..bc9d166 100644
--- a/src/preload/index.d.ts
+++ b/src/preload/index.d.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2026 Yuren Hao
+// Licensed under AGPL-3.0 - see LICENSE file
+
import type { ElectronAPI } from './index'
declare global {
diff --git a/src/preload/index.ts b/src/preload/index.ts
index ca7f098..d36c9e7 100644
--- a/src/preload/index.ts
+++ b/src/preload/index.ts
@@ -1,3 +1,6 @@
+// Copyright (c) 2026 Yuren Hao
+// Licensed under AGPL-3.0 - see LICENSE file
+
import { contextBridge, ipcRenderer } from 'electron'
import { createHash } from 'crypto'