From fe91cc994c78b15bbc4e974e4d7c0eb1177a7a10 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 29 五月 2024 14:44:21 +0800
Subject: [PATCH] 页面整合

---
 dist_electron/index.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dist_electron/index.js b/dist_electron/index.js
index 95f0e8c..a946280 100644
--- a/dist_electron/index.js
+++ b/dist_electron/index.js
@@ -1751,7 +1751,7 @@
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 "use strict";
-eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var electron__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! electron */ \"electron\");\n/* harmony import */ var electron__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(electron__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue_cli_plugin_electron_builder_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-cli-plugin-electron-builder/lib */ \"./node_modules/vue-cli-plugin-electron-builder/lib/index.js\");\n/* harmony import */ var electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! electron-devtools-installer */ \"./node_modules/electron-devtools-installer/dist/index.js\");\n/* harmony import */ var electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! path */ \"path\");\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\n\n\nconst isDevelopment = \"development\" !== 'production'\nlet mainWindow = null;\n// Scheme must be registered before the app is ready\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"protocol\"].registerSchemesAsPrivileged([\n  { scheme: 'app', privileges: { secure: true, standard: true } }\n])\n\nasync function createWindow () {\n  // Create the browser window.\n  const win = new electron__WEBPACK_IMPORTED_MODULE_0__[\"BrowserWindow\"]({\n    width: electron__WEBPACK_IMPORTED_MODULE_0__[\"screen\"].getPrimaryDisplay().workAreaSize.width,\n    height: electron__WEBPACK_IMPORTED_MODULE_0__[\"screen\"].getPrimaryDisplay().workAreaSize.height,\n    // transparent:true,\n    icon: '/src/favicon.ico',\n    fullscreen: true,\n    webPreferences: {\n\n      // Use pluginOptions.nodeIntegration, leave this alone\n      // See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info\n      //  娓叉煋杩涚▼ 寮�鍚痭ode妯″潡锛屼娇寰桱S涓彲浠ヤ娇鐢╪ode鐨刴odel\n      nodeIntegration: true,\n      //鏉ユ墦寮�remote妯″潡锛屼娇寰楁覆鏌撹繘绋嬩腑鍙互璋冪敤涓昏繘绋嬬殑鏂规硶\n      enableRemoteModule: true,\n      // 鎺у埗涓婁笅鏂囬殧绂籠n      contextIsolation: false,\n      // 棰勫姞杞絓n      preload: path__WEBPACK_IMPORTED_MODULE_3___default.a.join(__dirname, 'preload.js'),\n      webSecurity: false\n    }\n  })\n\n  if (true) {\n    // Load the url of the dev server if in development mode\n    await win.loadURL(\"http://localhost:8002\")\n    if (!process.env.IS_TEST) win.webContents.openDevTools()\n  } else {}\n  return win;\n}\n\n// Quit when all windows are closed.\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('window-all-closed', () => {\n  // On macOS it is common for applications and their menu bar\n  // to stay active until the user quits explicitly with Cmd + Q\n  if (process.platform !== 'darwin') {\n    electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n  }\n})\n\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('activate', () => {\n  // On macOS it's common to re-create a window in the app when the\n  // dock icon is clicked and there are no other windows open.\n  if (electron__WEBPACK_IMPORTED_MODULE_0__[\"BrowserWindow\"].getAllWindows().length === 0) createWindow()\n})\n\n// This method will be called when Electron has finished\n// initialization and is ready to create browser windows.\n// Some APIs can only be used after this event occurs.\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('ready', async () => {\n  if (isDevelopment && !process.env.IS_TEST) {\n    // Install Vue Devtools\n    // try {\n    //   await installExtension(VUEJS_DEVTOOLS);\n\n    // } catch (e) {\n    //   console.error('Vue Devtools failed to install:', e.toString());\n    // }\n  }\n  mainWindow = await createWindow();\n  mainWindow.setTitle(\"姹熻タ鍩庣\"); //璁剧疆绋嬪簭Title\n\n  electron__WEBPACK_IMPORTED_MODULE_0__[\"ipcMain\"].on('closeWindow', async () => {\n    console.log('closeWindow');\n    mainWindow.hide();\n    mainWindow.close();\n    // await mainWindow.close()\n  });\n});\n\n// Exit cleanly on request from parent process in development mode.\nif (isDevelopment) {\n  if (process.platform === 'win32') {\n    process.on('message', (data) => {\n      if (data === 'graceful-exit') {\n        electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n      }\n    })\n  } else {\n    process.on('SIGTERM', () => {\n      electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n    })\n  }\n}\n\n\n//# sourceURL=webpack:///./src/background.js?");
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var electron__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! electron */ \"electron\");\n/* harmony import */ var electron__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(electron__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var vue_cli_plugin_electron_builder_lib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue-cli-plugin-electron-builder/lib */ \"./node_modules/vue-cli-plugin-electron-builder/lib/index.js\");\n/* harmony import */ var electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! electron-devtools-installer */ \"./node_modules/electron-devtools-installer/dist/index.js\");\n/* harmony import */ var electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(electron_devtools_installer__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! path */ \"path\");\n/* harmony import */ var path__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(path__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\n\n\nconst isDevelopment = \"development\" !== 'production'\nlet mainWindow = null;\n// Scheme must be registered before the app is ready\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"protocol\"].registerSchemesAsPrivileged([\n  { scheme: 'app', privileges: { secure: true, standard: true } }\n])\n\nasync function createWindow () {\n  // Create the browser window.\n  const win = new electron__WEBPACK_IMPORTED_MODULE_0__[\"BrowserWindow\"]({\n    width: electron__WEBPACK_IMPORTED_MODULE_0__[\"screen\"].getPrimaryDisplay().workAreaSize.width,\n    height: electron__WEBPACK_IMPORTED_MODULE_0__[\"screen\"].getPrimaryDisplay().workAreaSize.height,\n    // transparent:true,\n    icon: '/src/favicon.ico',\n    fullscreenable: true,\n    fullscreen: false,\n    webPreferences: {\n\n      // Use pluginOptions.nodeIntegration, leave this alone\n      // See nklayman.github.io/vue-cli-plugin-electron-builder/guide/security.html#node-integration for more info\n      //  娓叉煋杩涚▼ 寮�鍚痭ode妯″潡锛屼娇寰桱S涓彲浠ヤ娇鐢╪ode鐨刴odel\n      nodeIntegration: true,\n      //鏉ユ墦寮�remote妯″潡锛屼娇寰楁覆鏌撹繘绋嬩腑鍙互璋冪敤涓昏繘绋嬬殑鏂规硶\n      enableRemoteModule: true,\n      // 鎺у埗涓婁笅鏂囬殧绂籠n      contextIsolation: false,\n      // 棰勫姞杞絓n      preload: path__WEBPACK_IMPORTED_MODULE_3___default.a.join(__dirname, 'preload.js'),\n      webSecurity: false\n    }\n  })\n\n  if (true) {\n    // Load the url of the dev server if in development mode\n    await win.loadURL(\"http://localhost:8002\")\n    if (!process.env.IS_TEST) win.webContents.openDevTools()\n  } else {}\n  return win;\n}\n\n// Quit when all windows are closed.\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('window-all-closed', () => {\n  // On macOS it is common for applications and their menu bar\n  // to stay active until the user quits explicitly with Cmd + Q\n  if (process.platform !== 'darwin') {\n    electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n  }\n})\n\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('activate', () => {\n  // On macOS it's common to re-create a window in the app when the\n  // dock icon is clicked and there are no other windows open.\n  if (electron__WEBPACK_IMPORTED_MODULE_0__[\"BrowserWindow\"].getAllWindows().length === 0) createWindow()\n})\n\n// This method will be called when Electron has finished\n// initialization and is ready to create browser windows.\n// Some APIs can only be used after this event occurs.\nelectron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].on('ready', async () => {\n  if (isDevelopment && !process.env.IS_TEST) {\n    // Install Vue Devtools\n    // try {\n    //   await installExtension(VUEJS_DEVTOOLS);\n\n    // } catch (e) {\n    //   console.error('Vue Devtools failed to install:', e.toString());\n    // }\n  }\n  mainWindow = await createWindow();\n  mainWindow.setTitle(\"姹熻タ鍩庣\"); //璁剧疆绋嬪簭Title\n\n  electron__WEBPACK_IMPORTED_MODULE_0__[\"ipcMain\"].on('closeWindow', async () => {\n    console.log('closeWindow');\n    mainWindow.hide();\n    mainWindow.close();\n    // await mainWindow.close()\n  });\n});\n\n// Exit cleanly on request from parent process in development mode.\nif (isDevelopment) {\n  if (process.platform === 'win32') {\n    process.on('message', (data) => {\n      if (data === 'graceful-exit') {\n        electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n      }\n    })\n  } else {\n    process.on('SIGTERM', () => {\n      electron__WEBPACK_IMPORTED_MODULE_0__[\"app\"].quit()\n    })\n  }\n}\n\n\n//# sourceURL=webpack:///./src/background.js?");
 
 /***/ }),
 
@@ -1762,7 +1762,7 @@
 /*! no static exports found */
 /***/ (function(module, exports, __webpack_require__) {
 
-eval("module.exports = __webpack_require__(/*! D:\\Codes\\xzs\\source\\vue\\xzs-admin\\src\\background.js */\"./src/background.js\");\n\n\n//# sourceURL=webpack:///multi_./src/background.js?");
+eval("module.exports = __webpack_require__(/*! D:\\Codes\\jxkg-ui-new\\src\\background.js */\"./src/background.js\");\n\n\n//# sourceURL=webpack:///multi_./src/background.js?");
 
 /***/ }),
 

--
Gitblit v1.8.0