move safeStorage to api
This commit is contained in:
parent
9446a34b23
commit
ba2bf813ec
|
@ -1,6 +1,6 @@
|
||||||
import { ipcRenderer } from 'electron';
|
import { ipcRenderer } from 'electron';
|
||||||
import { safeStorageStore } from '../services/store';
|
import { safeStorageStore } from '../services/store';
|
||||||
import { logError } from './logging';
|
import { logError } from '../utils/logging';
|
||||||
|
|
||||||
export async function setEncryptionKey(encryptionKey: string) {
|
export async function setEncryptionKey(encryptionKey: string) {
|
||||||
try {
|
try {
|
|
@ -8,7 +8,7 @@ import {
|
||||||
getElectronFilesFromGoogleZip,
|
getElectronFilesFromGoogleZip,
|
||||||
setToUploadCollection,
|
setToUploadCollection,
|
||||||
} from './api/upload';
|
} from './api/upload';
|
||||||
import { getEncryptionKey, setEncryptionKey } from './utils/safeStorage';
|
import { getEncryptionKey, setEncryptionKey } from './api/safeStorage';
|
||||||
import { clearElectronStore } from './utils/electronStore';
|
import { clearElectronStore } from './utils/electronStore';
|
||||||
import { openDiskCache, deleteDiskCache } from './utils/cache';
|
import { openDiskCache, deleteDiskCache } from './utils/cache';
|
||||||
import {
|
import {
|
||||||
|
|
Loading…
Reference in a new issue