mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-21 16:05:05 +00:00
Install to /data by default
This commit is contained in:
parent
e1dc59098e
commit
25a39e5bc6
@ -251,7 +251,7 @@ esp_err_t DevelopmentService::handleAppInstall(httpd_req_t* request) {
|
|||||||
content_left -= content_read;
|
content_left -= content_read;
|
||||||
|
|
||||||
// Write file
|
// Write file
|
||||||
auto file_path = std::format("/sdcard/{}", filename_entry->second);
|
auto file_path = std::format("/data/{}", filename_entry->second);
|
||||||
auto* file = fopen(file_path.c_str(), "wb");
|
auto* file = fopen(file_path.c_str(), "wb");
|
||||||
auto file_bytes_written = fwrite(buffer.get(), 1, file_size, file);
|
auto file_bytes_written = fwrite(buffer.get(), 1, file_size, file);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user