diff options
author | Kristóf Marussy <kristof@marussy.com> | 2022-01-27 16:49:11 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2022-02-08 21:43:17 +0100 |
commit | 852c3b0eaed48265354046d068f0cfa565827e7c (patch) | |
tree | 858a60359dda635da2647900564e4963f68d57df /packages/main/src/initReactions.ts | |
parent | chore: Annotate shared packages for purity (diff) | |
download | sophie-852c3b0eaed48265354046d068f0cfa565827e7c.tar.gz sophie-852c3b0eaed48265354046d068f0cfa565827e7c.tar.zst sophie-852c3b0eaed48265354046d068f0cfa565827e7c.zip |
refactor: Extract resource path management
Lets us access absolute paths and URLs without directly calling node
APIs.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/src/initReactions.ts')
-rw-r--r-- | packages/main/src/initReactions.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/main/src/initReactions.ts b/packages/main/src/initReactions.ts index 87ad425..a87b323 100644 --- a/packages/main/src/initReactions.ts +++ b/packages/main/src/initReactions.ts | |||
@@ -34,6 +34,7 @@ export default async function initReactions( | |||
34 | store.shared, | 34 | store.shared, |
35 | configRepository, | 35 | configRepository, |
36 | ); | 36 | ); |
37 | await app.whenReady(); | ||
37 | const disposeNativeThemeController = synchronizeNativeTheme(store.shared); | 38 | const disposeNativeThemeController = synchronizeNativeTheme(store.shared); |
38 | 39 | ||
39 | return () => { | 40 | return () => { |