|
|
|
@ -6,6 +6,7 @@
@@ -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) {
@@ -14,6 +15,6 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
|
|
|
|
|
}, |
|
|
|
|
minWidth: 320, |
|
|
|
|
minHeight: 400, |
|
|
|
|
frame: { color: "#5682a3" } |
|
|
|
|
frame: isWindows ? { color: '#5682a3' } : 'chrome' |
|
|
|
|
}) |
|
|
|
|
}) |
|
|
|
|