mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-17 16:45:21 +00:00
file main get image
This commit is contained in:
3
main.js
3
main.js
@@ -63,10 +63,11 @@ var DB = {
|
||||
* @param {Object} params {
|
||||
curUser: <User> 是当前用户
|
||||
dbPath: string 是用户的dbPath
|
||||
dataBasePath: string 所有数据的基地址
|
||||
* }
|
||||
*/
|
||||
ipc.on('db-init', function (event, params) {
|
||||
db.init(params.curUser, params.dbPath);
|
||||
db.init(params.curUser, params.dbPath, params.dataBasePath);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user