File tree 4 files changed +22
-3
lines changed
4 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ Fedora: https://github.com/patrikx3/onenote/issues/3#issuecomment-312711801
68
68
* Quit
69
69
* Loads last visibility state
70
70
71
+ # Corporate
72
+
73
+ * Now, there is a menu ``` Corporate home ```
74
+
71
75
## Screenshot
72
76
73
77
![ Screenshot 1] ( https://cdn.corifeus.com/git/onenote/artifacts/screenshot/1.png )
@@ -78,7 +82,7 @@ Fedora: https://github.com/patrikx3/onenote/issues/3#issuecomment-312711801
78
82
79
83
---
80
84
81
- [ ** P3X-ONENOTE** ] ( https://pages.corifeus.com/onenote ) Build v1.0.286-175
85
+ [ ** P3X-ONENOTE** ] ( https://pages.corifeus.com/onenote ) Build v1.0.293-180
82
86
83
87
[ Corifeus] ( http://www.corifeus.com ) by [ Patrik Laszlo] ( http://patrikx3.com )
84
88
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " p3x-onenote" ,
3
- "version" : " 1.0.286-175 " ,
3
+ "version" : " 1.0.293-180 " ,
4
4
"description" : " P3X Onenote Linux" ,
5
5
"main" : " src/electron/app.js" ,
6
6
"corifeus" : {
32
32
},
33
33
"homepage" : " https://pages.corifeus.com/onenote" ,
34
34
"dependencies" : {
35
+ "electron" : " ^1.7.8" ,
35
36
"configstore" : " ^3.1.1" ,
36
37
"corifeus-utils" : " ^1.1.532-168" ,
37
- "electron" : " ^1.7.8" ,
38
38
"mocha" : " ^3.5.3"
39
39
},
40
40
"devDependencies" : {
49
49
"copyright" : " MIT" ,
50
50
"productName" : " P3X OneNote Linux" ,
51
51
"linux" : {
52
+ "category" : " Office" ,
52
53
"icon" : " src/electron/images/"
53
54
}
54
55
}
Original file line number Diff line number Diff line change @@ -35,6 +35,12 @@ const action = {
35
35
action : 'home'
36
36
} )
37
37
} ,
38
+ corporate : ( ) => {
39
+ mainWindow . show ( ) ;
40
+ mainWindow . webContents . send ( 'action' , {
41
+ action : 'corporate'
42
+ } )
43
+ } ,
38
44
toggleVisible : ( ) => {
39
45
if ( mainWindow === undefined ) {
40
46
return ;
@@ -77,6 +83,10 @@ const menus = {
77
83
label : 'Home' ,
78
84
click : action . home
79
85
} ,
86
+ {
87
+ label : 'Corporate home' ,
88
+ click : action . corporate
89
+ } ,
80
90
{
81
91
label : 'Restart / Logout' ,
82
92
tooltip : 'You logout and can login again' ,
Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ window.electronWindowSetup = function() {
44
44
case 'home' :
45
45
webview . src = 'https://www.onenote.com/notebooks'
46
46
break ;
47
+
48
+ case 'corporate' :
49
+ webview . src = 'https://www.onenote.com/notebooks?auth=2&auth_upn=my_corporate_email_address'
50
+ break ;
47
51
}
48
52
} )
49
53
You can’t perform that action at this time.
0 commit comments