mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-12 02:19:55 +08:00
hide dock icon for none main flow
This commit is contained in:
@@ -2,6 +2,8 @@ import { app } from 'electron'
|
||||
import checkAndDownloadPuppeteer from './check-and-download-puppeteer'
|
||||
import * as net from 'net'
|
||||
|
||||
app.dock.hide()
|
||||
|
||||
export enum DOWNLOAD_ERROR_EXIT_CODE {
|
||||
NO_ERROR = 0,
|
||||
DOWNLOAD_ERROR = 1
|
||||
|
||||
@@ -7,6 +7,8 @@ import {
|
||||
checkPuppeteerExecutable,
|
||||
} from './CHECK_AND_DOWNLOAD_DEPENDENCIES/check-and-download-puppeteer'
|
||||
|
||||
app.dock.hide()
|
||||
|
||||
const { groupRobotAccessToken: dingTalkAccessToken } = readConfigFile('dingtalk.json')
|
||||
|
||||
const initPlugins = (hooks) => {
|
||||
|
||||
Reference in New Issue
Block a user