From 1046ab61c2449d4069346ef466135bd3da77aa5b Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期二, 02 七月 2024 11:40:53 +0800
Subject: [PATCH] chore:更新gitignore

---
 /dev/null |   58 ----------------------------------------------------------
 1 files changed, 0 insertions(+), 58 deletions(-)

diff --git a/dist-electron/background.js b/dist-electron/background.js
deleted file mode 100644
index fcbd4bf..0000000
--- a/dist-electron/background.js
+++ /dev/null
@@ -1,58 +0,0 @@
-"use strict";
-const { app, BrowserWindow, screen, globalShortcut, ipcMain } = require("electron");
-const { join } = require("path");
-process.env["ELECTRON_DISABLE_SECURITY_WARNINGS"] = "true";
-const createWindow = (width, height) => {
-  const win = new BrowserWindow({
-    width,
-    height,
-    minWidth: 1280,
-    minHeight: 720,
-    webPreferences: {
-      preload: join(__dirname, "preload.js")
-    }
-  });
-  win.maximize();
-  if (process.env.VITE_DEV_SERVER_URL) {
-    win.loadURL(process.env.VITE_DEV_SERVER_URL);
-    win.webContents.openDevTools();
-  } else {
-    win.loadFile(join(__dirname, "../dist/index.html"));
-  }
-};
-app.whenReady().then(() => {
-  const { width, height } = screen.getPrimaryDisplay().bounds;
-  createWindow(width, height);
-  app.on("activate", () => {
-    if (BrowserWindow.getAllWindows().length === 0)
-      createWindow();
-  });
-  ipcMain.on("open-new-window", (event, meet) => {
-    const { meetName, id } = JSON.parse(meet);
-    const childWin = new BrowserWindow({
-      width,
-      height,
-      minWidth: width,
-      minHeight: height,
-      webPreferences: {
-        preload: join(__dirname, "preload.js")
-      }
-    });
-    childWin.maximize();
-    if (process.env.VITE_DEV_SERVER_URL) {
-      childWin.loadURL(process.env.VITE_DEV_SERVER_URL + `#/meet?meetName=${meetName}&id=${id}`);
-    } else {
-      childWin.loadFile(join(__dirname, "../dist/index.html"), {
-        hash: "/meet",
-        query: {
-          meetName,
-          id
-        }
-      });
-    }
-  });
-});
-app.on("window-all-closed", () => {
-  if (process.platform !== "darwin")
-    app.quit();
-});

--
Gitblit v1.8.0