betaflight-configurator/background.js

10 lines
255 B
JavaScript

chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('main.html', {
frame: 'chrome',
id: 'main-window',
minWidth: 960,
maxWidth: 960,
minHeight: 600,
maxHeight: 600
});
});