mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
feat(app): add download count display
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
shell,
|
||||
Tray,
|
||||
nativeTheme,
|
||||
session
|
||||
session,
|
||||
} from "electron";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import path from "node:path";
|
||||
@@ -62,7 +62,7 @@ if (!app.requestSingleInstanceLock()) {
|
||||
let win: BrowserWindow | null = null;
|
||||
const preload = path.join(__dirname, "../preload/index.mjs");
|
||||
const indexHtml = path.join(RENDERER_DIST, "index.html");
|
||||
const userAgent = `APM-Store/${JSON.stringify(process.env.npm_package_version)}`
|
||||
const userAgent = `APM-Store/${JSON.stringify(process.env.npm_package_version)}`;
|
||||
|
||||
async function createWindow() {
|
||||
win = new BrowserWindow({
|
||||
|
||||
Reference in New Issue
Block a user