📦 Chore: upgrade electron uuid , change pkg name

This commit is contained in:
萌萌哒赫萝
2023-01-16 23:27:33 +08:00
parent b9a75d853a
commit 7421322475
28 changed files with 289 additions and 115 deletions

View File

@@ -1,6 +1,6 @@
import { ipcRenderer, IpcRendererEvent } from 'electron'
import { PICGO_SAVE_CONFIG, PICGO_GET_CONFIG, RPC_ACTIONS } from '#/events/constants'
import { uuid } from 'uuidv4'
import { v4 as uuid } from 'uuid'
import { IRPCActionType } from '~/universal/types/enum'
import { getRawData } from './common'

View File

@@ -1,6 +1,6 @@
import { IObject, IResult, IGetResult, IFilter } from '@picgo/store/dist/types'
import { ipcRenderer, IpcRendererEvent } from 'electron'
import { uuid } from 'uuidv4'
import { v4 as uuid } from 'uuid'
import {
PICGO_GET_DB,
PICGO_INSERT_DB,

View File

@@ -1,4 +1,4 @@
import { uuid } from 'uuidv4'
import { v4 as uuid } from 'uuid'
export const completeUploaderMetaConfig = (originData: IStringKeyMap): IStringKeyMap => {
return Object.assign({