Skip to content

Commit 5b16d96

Browse files
committed
bugfix: data root not init in render
1 parent f9d3057 commit 5b16d96

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

electron/mapi/render.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export const MAPI = {
4848
AppEnv.appRoot = env.appRoot;
4949
AppEnv.appData = env.appData;
5050
AppEnv.userData = env.userData;
51+
AppEnv.dataRoot = env.dataRoot;
5152
AppEnv.isInit = true;
5253
}
5354
},

0 commit comments

Comments
 (0)