mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-05 07:27:35 +08:00
rename product from bossgeekgo to geekgeekrun
This commit is contained in:
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
},
|
||||
plugins: [
|
||||
externalizeDepsPlugin({
|
||||
exclude: ['@bossgeekgo/geek-auto-start-chat-with-boss', '@bossgeekgo/dingtalk-plugin']
|
||||
exclude: ['@geekgeekrun/geek-auto-start-chat-with-boss', '@geekgeekrun/dingtalk-plugin']
|
||||
})
|
||||
]
|
||||
},
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "bossgeekgo-external-node-runtime-dependencies",
|
||||
"name": "geekgeekrun-external-node-runtime-dependencies",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "bossgeekgo-external-node-runtime-dependencies",
|
||||
"name": "geekgeekrun-external-node-runtime-dependencies",
|
||||
"version": "1.0.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "bossgeekgo-external-node-runtime-dependencies",
|
||||
"name": "geekgeekrun-external-node-runtime-dependencies",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.cjs",
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
"name": "bossgeekgo-ui",
|
||||
"name": "geekgeekrun-ui",
|
||||
"version": "1.0.0",
|
||||
"description": "An Electron application with Vue and TypeScript",
|
||||
"main": "./out/main/index.js",
|
||||
"author": "bossgeekgo",
|
||||
"author": "geekgeekrun",
|
||||
"scripts": {
|
||||
"start": "electron-vite preview",
|
||||
"dev": "electron-vite dev",
|
||||
@@ -22,8 +22,8 @@
|
||||
"build:linux": "npm run build && electron-builder --linux"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bossgeekgo/dingtalk-plugin": "workspace:*",
|
||||
"@bossgeekgo/geek-auto-start-chat-with-boss": "workspace:*",
|
||||
"@geekgeekrun/dingtalk-plugin": "workspace:*",
|
||||
"@geekgeekrun/geek-auto-start-chat-with-boss": "workspace:*",
|
||||
"@electron-toolkit/preload": "^3.0.0",
|
||||
"@electron-toolkit/utils": "^3.0.0",
|
||||
"@puppeteer/browsers": "^2.0.0",
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import electron from 'electron'
|
||||
const expectBuildId = process.env.EXPECT_CHROME_FOR_PUPPETEER_BUILD_ID || '121.0.6167.85'
|
||||
const cacheDir = path.join(
|
||||
os.homedir(),
|
||||
'.bossgeekgo',
|
||||
'.geekgeekrun',
|
||||
'cache'
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import DingtalkPlugin from '@bossgeekgo/dingtalk-plugin/index.mjs'
|
||||
import DingtalkPlugin from '@geekgeekrun/dingtalk-plugin/index.mjs'
|
||||
import { app } from 'electron'
|
||||
import { SyncHook, AsyncSeriesHook } from 'tapable'
|
||||
import { readConfigFile } from '@bossgeekgo/geek-auto-start-chat-with-boss/runtime-file-utils.mjs'
|
||||
import { readConfigFile } from '@geekgeekrun/geek-auto-start-chat-with-boss/runtime-file-utils.mjs'
|
||||
import * as net from 'net'
|
||||
import {
|
||||
checkPuppeteerExecutable,
|
||||
@@ -26,7 +26,7 @@ export const runAutoChat = async () => {
|
||||
}) + '\r\n'
|
||||
)
|
||||
try {
|
||||
await (await import('@bossgeekgo/geek-auto-start-chat-with-boss/index.mjs')).initPuppeteer()
|
||||
await (await import('@geekgeekrun/geek-auto-start-chat-with-boss/index.mjs')).initPuppeteer()
|
||||
pipe?.write(
|
||||
JSON.stringify({
|
||||
type: 'PUPPETEER_INITIALIZE_SUCCESSFULLY'
|
||||
@@ -43,7 +43,7 @@ export const runAutoChat = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
const mainLoop = (await import('@bossgeekgo/geek-auto-start-chat-with-boss/index.mjs')).mainLoop
|
||||
const mainLoop = (await import('@geekgeekrun/geek-auto-start-chat-with-boss/index.mjs')).mainLoop
|
||||
const hooks = {
|
||||
puppeteerLaunched: new SyncHook(),
|
||||
pageLoaded: new SyncHook(),
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
configFileNameList,
|
||||
ensureConfigFileExist,
|
||||
writeConfigFile
|
||||
} from '@bossgeekgo/geek-auto-start-chat-with-boss/runtime-file-utils.mjs'
|
||||
} from '@geekgeekrun/geek-auto-start-chat-with-boss/runtime-file-utils.mjs'
|
||||
import { ChildProcess } from 'child_process'
|
||||
import {
|
||||
checkPuppeteerExecutable,
|
||||
@@ -192,7 +192,7 @@ export function createMainWindow(): void {
|
||||
subProcessOfPuppeteer?.kill('SIGINT')
|
||||
})
|
||||
ipcMain.on('open-project-homepage-on-github', () => {
|
||||
shell.openExternal(`https://github.com/bossgeekgo`, {
|
||||
shell.openExternal(`https://github.com/geekgeekrun`, {
|
||||
activate: true
|
||||
})
|
||||
})
|
||||
|
||||
@@ -44,9 +44,9 @@ const router = createRouter({
|
||||
|
||||
router.afterEach((to) => {
|
||||
if (to.meta?.title) {
|
||||
document.title = `${to.meta.title} - BossGeekGo`
|
||||
document.title = `${to.meta.title} - GeekGeekRun`
|
||||
} else {
|
||||
document.title = `BossGeekGo`
|
||||
document.title = `GeekGeekRun`
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user