Skip to content

Commit

Permalink
delete feature login_bgm
Browse files Browse the repository at this point in the history
  • Loading branch information
KikaYan committed Feb 17, 2021
1 parent 13b1aa1 commit 2e0cbac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions app.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,6 @@
<i class="mdui-list-item-icon mdui-icon material-icons">data_usage</i>
<div class="mdui-list-item-content">更新资料库</div>
</li>
<li class="mdui-list-item mdui-ripple" onclick="ui_login_bgm()">
<i class="mdui-list-item-icon mdui-icon material-icons">account_circle</i>
<div class="mdui-list-item-content" id="bgm-login-name">登录Bangumi</div>
</li>

</ul>
</div>
Expand Down
4 changes: 2 additions & 2 deletions m_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports.update_bgm_status = function(name, ep_id){
ep_id: ep_id
}).write();
// 与bgm同步
var access_token = this.get_user_access_token();
/*var access_token = this.get_user_access_token();
if(access_token != undefined){
var bgm = this.get_bangumi(name);
m_api.updata_collection(access_token.access_token, bgm.info.id, (success) => {
Expand All @@ -91,7 +91,7 @@ module.exports.update_bgm_status = function(name, ep_id){
else
ipcRenderer.send('app-log', "同步进度失败,请重新登录");
})
}
}*/
}

/**
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,6 @@ function load_login(){

function run(){
m_exts.check_data_path(__dirname);
load_login();
//load_login();
createWindow();
}

0 comments on commit 2e0cbac

Please sign in to comment.