mirror of
https://gitlab.com/Theopse/fbi-i18n-zh.git
synced 2025-04-06 03:58:02 +08:00
Use app_install_socket.
This commit is contained in:
parent
4a26ee9d42
commit
2b0c8eed77
@ -101,7 +101,7 @@ int main(int argc, char **argv) {
|
||||
confirmStream << "Install the received application?" << "\n";
|
||||
confirmStream << "Size: " << file.fileSize << " bytes (" << std::fixed << std::setprecision(2) << file.fileSize / 1024.0f / 1024.0f << "MB)" << "\n";
|
||||
if(ui_prompt(confirmStream.str(), true)) {
|
||||
int ret = app_install(destination, file.socket, true, file.fileSize, onProgress);
|
||||
int ret = app_install_socket(destination, file.socket, file.fileSize, onProgress);
|
||||
std::stringstream resultMsg;
|
||||
resultMsg << "Install ";
|
||||
if(ret == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user