-
-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added implementation of native app with nw.js
- Loading branch information
Showing
25 changed files
with
988 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"translation_version": { | ||
"message": "0" | ||
}, | ||
"noticeTitle": { | ||
"message": "Notice" | ||
}, | ||
"checkForUnstableVersions": { | ||
"message": "Show update notifications for unstable versions of the configurator" | ||
}, | ||
"updateNotice": { | ||
"message": "You are using an outdated version of the <b>Betaflight Blackbox Explorer</b>.<br>Version <b>$1</b> is available online, please visit <a href=\"$2\" target=\"_blank\">the release page</a> to download and install the latest version with fixes and improvements.<br><br>Please close the app before updating." | ||
}, | ||
"updateWebsite": { | ||
"message": "Go to Release Website" | ||
}, | ||
"close": { | ||
"message": "Close" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
chrome.app.runtime.onLaunched.addListener(function() { | ||
'use strict'; | ||
|
||
function startApplication() { | ||
chrome.app.window.create('index.html', { | ||
'id': 'main', | ||
'innerBounds' : { | ||
id: 'main', | ||
frame: 'chrome', | ||
innerBounds : { | ||
'width' : 1340, | ||
'height' : 900 | ||
} | ||
'height' : 920 | ||
}, | ||
title: 'Betaflight - Blackbox Explorer' | ||
}); | ||
}); | ||
} | ||
|
||
chrome.app.runtime.onLaunched.addListener(startApplication); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.