mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-08-07 14:23:57 +08:00
feat: 通过 IPC 实现应用版本号获取功能
移除预加载脚本中的版本号获取逻辑,改为通过 IPC 从主进程获取
This commit is contained in:
Vendored
+5
@@ -15,4 +15,9 @@ interface Window {
|
||||
};
|
||||
}
|
||||
|
||||
// IPC channel type definitions
|
||||
declare interface IpcChannels {
|
||||
"get-app-version": () => string;
|
||||
}
|
||||
|
||||
declare const __APP_VERSION__: string;
|
||||
|
||||
Reference in New Issue
Block a user