mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-07-04 16:31:17 +08:00
Try to Fix
This commit is contained in:
@@ -13,10 +13,13 @@
|
||||
#include <fcntl.h>
|
||||
#include <io.h>
|
||||
#include <regex>
|
||||
#include <memory>
|
||||
#include "err.h"
|
||||
#include "fileop.h"
|
||||
#include "wchar_util.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
#define MAX_PATH_SIZE 32768
|
||||
|
||||
FlutterWindow::FlutterWindow(const flutter::DartProject& project)
|
||||
@@ -220,7 +223,7 @@ bool FlutterWindow::OnCreate() {
|
||||
}
|
||||
std::vector<uint8_t> data(buf, num);
|
||||
delete[] buf;
|
||||
result->Success<std::vector<uint8_t>>(data);
|
||||
result->Success(flutter::EncodableValue(data));
|
||||
} else {
|
||||
result->NotImplemented();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user