mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-05 23:47:54 +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 checkAndDownloadPuppeteer from './check-and-download-puppeteer'
|
||||||
import * as net from 'net'
|
import * as net from 'net'
|
||||||
|
|
||||||
|
app.dock.hide()
|
||||||
|
|
||||||
export enum DOWNLOAD_ERROR_EXIT_CODE {
|
export enum DOWNLOAD_ERROR_EXIT_CODE {
|
||||||
NO_ERROR = 0,
|
NO_ERROR = 0,
|
||||||
DOWNLOAD_ERROR = 1
|
DOWNLOAD_ERROR = 1
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ import {
|
|||||||
checkPuppeteerExecutable,
|
checkPuppeteerExecutable,
|
||||||
} from './CHECK_AND_DOWNLOAD_DEPENDENCIES/check-and-download-puppeteer'
|
} from './CHECK_AND_DOWNLOAD_DEPENDENCIES/check-and-download-puppeteer'
|
||||||
|
|
||||||
|
app.dock.hide()
|
||||||
|
|
||||||
const { groupRobotAccessToken: dingTalkAccessToken } = readConfigFile('dingtalk.json')
|
const { groupRobotAccessToken: dingTalkAccessToken } = readConfigFile('dingtalk.json')
|
||||||
|
|
||||||
const initPlugins = (hooks) => {
|
const initPlugins = (hooks) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user