Lazily load better quality jumbomoji
This commit is contained in:
parent
ac04d02d4f
commit
5e41701516
10 changed files with 4566 additions and 137 deletions
|
@ -80,6 +80,7 @@ import { PreventDisplaySleepService } from './PreventDisplaySleepService';
|
|||
import { SystemTrayService, focusAndForceToTop } from './SystemTrayService';
|
||||
import { SystemTraySettingCache } from './SystemTraySettingCache';
|
||||
import { OptionalResourceService } from './OptionalResourceService';
|
||||
import { EmojiService } from './EmojiService';
|
||||
import {
|
||||
SystemTraySetting,
|
||||
shouldMinimizeToSystemTray,
|
||||
|
@ -1818,7 +1819,10 @@ app.on('ready', async () => {
|
|||
// Write buffered information into newly created logger.
|
||||
consoleLogger.writeBufferInto(logger);
|
||||
|
||||
OptionalResourceService.create(join(userDataPath, 'optionalResources'));
|
||||
const resourceService = OptionalResourceService.create(
|
||||
join(userDataPath, 'optionalResources')
|
||||
);
|
||||
await EmojiService.create(resourceService);
|
||||
|
||||
sqlInitPromise = initializeSQL(userDataPath);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue