-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement update support, fixes on lang support, add simplified Chinese
- Loading branch information
Showing
21 changed files
with
590 additions
and
53 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
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
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,16 @@ | ||
|
||
#pragma once | ||
#include <ul/ul_Include.hpp> | ||
#include <functional> | ||
|
||
namespace ul::man { | ||
|
||
constexpr const char TemporaryReleaseZipPath[] = "sdmc:/ulaunch_tmp.zip"; | ||
|
||
using RetrieveOnProgressCallback = std::function<void(const double now_downloaded, const double total_to_download)>; | ||
|
||
std::string RetrieveContent(const std::string &url, const std::string &mime_type = ""); | ||
void RetrieveToFile(const std::string &url, const std::string &path, RetrieveOnProgressCallback on_progress_cb); | ||
bool HasConnection(); | ||
|
||
} |
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,24 @@ | ||
{ | ||
"yes": "Yes", | ||
"cancel": "Cancel", | ||
"ok": "Ok", | ||
"reboot": "Reboot", | ||
"status": "Status", | ||
"status_active": "active", | ||
"status_not_active": "not active", | ||
"status_not_present": "not present", | ||
"update_item": "Check for updates", | ||
"activate_changes_title": "Changes", | ||
"activate_changes": "The (de)activation of uLaunch needs a reboot for changes to take effect.", | ||
"activate_continue": "Continue", | ||
"activate_not_present": "uLaunch was not found in the SD card.", | ||
"update_title": "Update check", | ||
"update_error": "Unable to retrieve last update information...", | ||
"update_version": "Last release", | ||
"update_conf": "Would you like to update to the last release?", | ||
"update_equal": "uLaunch is already on the latest release.", | ||
"update_higher": "uLaunch seems to be in a newer version than the latest release...", | ||
"update_success": "uLaunch was successfully updated, now the system must reboot for the update to apply.", | ||
"update_progress_download": "Downloading update...", | ||
"update_progress_install": "Installing update..." | ||
} |
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
Oops, something went wrong.