File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ protocol.registerSchemesAsPrivileged([
18
18
async function createWindow ( ) {
19
19
// Create the browser window.
20
20
const win = new BrowserWindow ( {
21
- width : 1280 ,
22
- height : 720 ,
21
+ width : 1400 ,
22
+ height : 900 ,
23
23
webPreferences : {
24
24
webviewTag : true ,
25
25
preload : path . join ( __dirname , 'preload.js' ) ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default {
30
30
const mypage = " http://sp.pf.mbga.jp/12008305/?guid=ON&url=http://mobamas.net/idolmaster/mypage?"
31
31
32
32
if (! url .startsWith (" https://connect.mobage.jp/login" )){
33
- if (url != mypage){
33
+ if (url . indexOf ( " sp.pf.mbga.jp/12008305 " ) < 0 && url . indexOf ( " mobamas.net/idolmaster/ mypage" ) < 0 ){
34
34
webview .loadURL (mypage)
35
35
} else {
36
36
window .ipcRenderer .send (' login-done' , true )
You can’t perform that action at this time.
0 commit comments