mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 08:45:28 +03:00
Fixed backup / restore, unified file name generation.
This commit is contained in:
parent
c09416de51
commit
57b9c58a22
1 changed files with 0 additions and 3 deletions
|
@ -168,9 +168,6 @@ function configuration_backup(callback) {
|
|||
|
||||
var filename = generateFilename(prefix, suffix);
|
||||
|
||||
// replace invalid filesystem characters
|
||||
now = now.replace(new RegExp(':', 'g'), '_');
|
||||
|
||||
// create or load the file
|
||||
chrome.fileSystem.chooseEntry({type: 'saveFile', suggestedName: filename, accepts: [{ extensions: [suffix] }]}, function (fileEntry) {
|
||||
if (chrome.runtime.lastError) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue