parent
a5b165ff50
commit
9ce6996f39
@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
chrome.app.runtime.onLaunched.addListener(function (launchData) {
|
||||
var isWindows = typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.match(/windows/i) ? true : false
|
||||
chrome.app.window.create('../index.html', {
|
||||
id: 'webogram-chat',
|
||||
innerBounds: {
|
||||
@ -14,6 +15,6 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
|
||||
},
|
||||
minWidth: 320,
|
||||
minHeight: 400,
|
||||
frame: { color: "#5682a3" }
|
||||
frame: isWindows ? { color: '#5682a3' } : 'chrome'
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user