mirror of
https://github.com/Team-Neptune/DeepSea-Updater.git
synced 2024-11-23 04:19:47 +00:00
DEEPSEA!!!!!
This commit is contained in:
parent
3501a5b412
commit
68a93f5f4c
2
Makefile
2
Makefile
@ -44,7 +44,7 @@ DATA := data
|
||||
INCLUDES := include
|
||||
ROMFS := romfs
|
||||
|
||||
APP_TITLE := Kosmos Updater
|
||||
APP_TITLE := DeepSea Updater
|
||||
APP_AUTHOR := Nichole Mattera
|
||||
|
||||
APP_VERSION := 3.1.0
|
||||
|
@ -1,14 +1,14 @@
|
||||
# Kosmos Updater
|
||||
# DeepSea Updater
|
||||
|
||||
A homebrew application for the Nintendo Switch that will automatically update your CFW with the latest from Kosmos.
|
||||
A homebrew application for the Nintendo Switch that will automatically update your CFW with the latest from DeepSea.
|
||||
|
||||
## settings.cfg
|
||||
|
||||
| Config option | Description
|
||||
| --------------------------------------------------------------------------- | ---
|
||||
| `host = "http://kosmos-updater.teamatlasnx.com";` | Which server to connect to. You can host your own server using the files in the [server repository](https://github.com/AtlasNX/Kosmos-Updater-Server).
|
||||
| `host = "http://DeepSea-updater.teamatlasnx.com";` | Which server to connect to. You can host your own server using the files in the [server repository](https://github.com/Team-Neptune/DeepSea-Updater-Server).
|
||||
| `ignore = [ "sdmc://fileToIgnore.nro", "sdmc://anotherFileToIgnore.nro" ];` | Array of files to ignore when extracting.
|
||||
| `autoupdate = true;` | Whether or not to auto update Kosmos Updater.
|
||||
| `autoupdate = true;` | Whether or not to auto update DeepSea Updater.
|
||||
| `proxy_enabled = false;` | Whether or not to use a proxy for network calls.
|
||||
| `proxy_url = "http://example.com:8080";` | The URL of the proxy server.
|
||||
| `proxy_username = "username";` | The username to use for the proxy server, if blank it will not be used.
|
||||
|
@ -4,7 +4,7 @@ A wrapper library for CURL on the Nintendo Switch. The objective is to have a si
|
||||
|
||||
## Installation
|
||||
|
||||
I recommend adding this as a git submodule to your and then modifying your makefile to look in this directory for libs. For examples on how to do this please look at [Kosmos Updater](https://github.com/AtlasNX/Kosmos-Updater).
|
||||
I recommend adding this as a git submodule to your and then modifying your makefile to look in this directory for libs. For examples on how to do this please look at [DeepSea Updater](https://github.com/Team-Neptune/DeepSea-Updater).
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -138,8 +138,8 @@ namespace ku {
|
||||
continue;
|
||||
}
|
||||
|
||||
// No need to extract Kosmos Updater.
|
||||
if (filename.compare(0, 27, "sdmc:/switch/KosmosUpdater/") == 0) {
|
||||
// No need to extract DeepSea Updater.
|
||||
if (filename.compare(0, 27, "sdmc:/switch/DeepSeaUpdater/") == 0) {
|
||||
free(fileInfo);
|
||||
continue;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -31,7 +31,7 @@ using namespace swurl;
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
SessionManager::initialize();
|
||||
SessionManager::userAgent = string("kosmos-updater/") + VERSION;
|
||||
SessionManager::userAgent = string("DeepSea-updater/") + VERSION;
|
||||
|
||||
#ifdef DEBUG
|
||||
nxlinkStdio();
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -36,10 +36,10 @@ namespace ku::scenes {
|
||||
SessionManager::onCompleted = bind(&AppUpdateScene::_onCompleted, this, _1);
|
||||
SessionManager::onError = bind(&AppUpdateScene::_onError, this, _1, _2);
|
||||
|
||||
_headerView = new HeaderView("Kosmos Updater", true);
|
||||
_headerView = new HeaderView("DeepSea Updater", true);
|
||||
_headerView->frame = { 0, 0, 1280, 88 };
|
||||
|
||||
_updateView = new UpdateView("Checking for updates to Kosmos Updater...");
|
||||
_updateView = new UpdateView("Checking for updates to DeepSea Updater...");
|
||||
_updateView->frame.x = 0;
|
||||
_updateView->frame.y = 200;
|
||||
|
||||
@ -85,7 +85,7 @@ namespace ku::scenes {
|
||||
|
||||
void AppUpdateScene::render(SDL_Rect rect, double dTime) {
|
||||
if (_appVersionRequest == NULL) {
|
||||
_appVersionRequest = new WebRequest("https://api.github.com/repos/AtlasNX/Kosmos-Updater/releases");
|
||||
_appVersionRequest = new WebRequest("https://api.github.com/repos/Team-Neptune/DeepSea-Updater/releases");
|
||||
SessionManager::makeRequest(_appVersionRequest);
|
||||
}
|
||||
|
||||
@ -232,15 +232,15 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
_updateView->setProgress(0);
|
||||
_updateView->setText("Getting the latest version of Kosmos Updater...");
|
||||
_updateView->setText("Getting the latest version of DeepSea Updater...");
|
||||
|
||||
_appRequest = new WebRequest(downloadUrl);
|
||||
SessionManager::makeRequest(_appRequest);
|
||||
}
|
||||
} else if (request == _appRequest) {
|
||||
romfsExit();
|
||||
FileManager::writeFile("KosmosUpdater.nro", request->response.rawResponseBody);
|
||||
_showStatus("Kosmos Updater has been updated to version " + _appVersionRequest->response.rawResponseBody + "!", "Please restart the app.");
|
||||
FileManager::writeFile("DeepSeaUpdater.nro", request->response.rawResponseBody);
|
||||
_showStatus("DeepSea Updater has been updated to version " + _appVersionRequest->response.rawResponseBody + "!", "Please restart the app.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -33,7 +33,7 @@ namespace ku::scenes {
|
||||
_headerTextView->frame = { 0, 122, 1280, 1 };
|
||||
_headerTextView->textAlignment = CENTER_ALIGN;
|
||||
|
||||
_bodyTextView = new TextView(AssetManager::body_font, "Kosmos Updater may cause corruption to your SD card if it is formatted as ExFAT. This\nis due to an issue with Nintendo's ExFAT drivers built into the Switch. It is recommended\nthat you use an SD card formatted as FAT32, however if you wish to continue and you are\nusing ExFAT you do so at your own risk. This warning will not show up again.", AssetManager::text);
|
||||
_bodyTextView = new TextView(AssetManager::body_font, "DeepSea Updater may cause corruption to your SD card if it is formatted as ExFAT. This\nis due to an issue with Nintendo's ExFAT drivers built into the Switch. It is recommended\nthat you use an SD card formatted as FAT32, however if you wish to continue and you are\nusing ExFAT you do so at your own risk. This warning will not show up again.", AssetManager::text);
|
||||
_bodyTextView->frame = { 0, 272, 1280, 1 };
|
||||
_bodyTextView->textAlignment = CENTER_ALIGN;
|
||||
_bodyTextView->lineHeight = 50;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -40,10 +40,10 @@ namespace ku::scenes {
|
||||
|
||||
bpcInitialize();
|
||||
|
||||
_headerView = new HeaderView("Kosmos Updater", true);
|
||||
_headerView = new HeaderView("DeepSea Updater", true);
|
||||
_headerView->frame = { 0, 0, 1280, 88 };
|
||||
|
||||
_updateView = new UpdateView("Downloading the latest Kosmos...");
|
||||
_updateView = new UpdateView("Downloading the latest DeepSea...");
|
||||
_updateView->frame.x = 0;
|
||||
_updateView->frame.y = 200;
|
||||
|
||||
@ -80,11 +80,11 @@ namespace ku::scenes {
|
||||
if (_footerView != NULL)
|
||||
delete _footerView;
|
||||
|
||||
if (_kosmosUrlRequest != NULL)
|
||||
delete _kosmosUrlRequest;
|
||||
if (_DeepSeaUrlRequest != NULL)
|
||||
delete _DeepSeaUrlRequest;
|
||||
|
||||
if (_kosmosRequest != NULL)
|
||||
delete _kosmosRequest;
|
||||
if (_DeepSeaRequest != NULL)
|
||||
delete _DeepSeaRequest;
|
||||
|
||||
bpcExit();
|
||||
}
|
||||
@ -101,9 +101,9 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
void PackageDownloadScene::render(SDL_Rect rect, double dTime) {
|
||||
if (_kosmosUrlRequest == NULL) {
|
||||
_kosmosUrlRequest = new WebRequest("https://api.github.com/repos/AtlasNX/Kosmos/releases");
|
||||
SessionManager::makeRequest(_kosmosUrlRequest);
|
||||
if (_DeepSeaUrlRequest == NULL) {
|
||||
_DeepSeaUrlRequest = new WebRequest("https://api.github.com/repos/Team-Neptune/DeepSea/releases");
|
||||
SessionManager::makeRequest(_DeepSeaUrlRequest);
|
||||
}
|
||||
|
||||
Scene::render(rect, dTime);
|
||||
@ -139,7 +139,7 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
void PackageDownloadScene::_onCompleted(WebRequest * request) {
|
||||
if (request == _kosmosUrlRequest) {
|
||||
if (request == _DeepSeaUrlRequest) {
|
||||
json_t * root = json_loads(request->response.rawResponseBody.c_str(), 0, NULL);
|
||||
if (!root || !json_is_array(root) || json_array_size(root) < 1) {
|
||||
if (root) {
|
||||
@ -164,7 +164,7 @@ namespace ku::scenes {
|
||||
return;
|
||||
}
|
||||
|
||||
_kosmosVersion = json_string_value(tagName);
|
||||
_DeepSeaVersion = json_string_value(tagName);
|
||||
|
||||
json_t * assets = json_object_get(release, "assets");
|
||||
if (!assets || !json_is_array(assets) || json_array_size(assets) < 1) {
|
||||
@ -186,7 +186,7 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
std::string assetName(json_string_value(name));
|
||||
if (assetName.compare(0, 6, "Kosmos") != 0 || assetName.compare(assetName.length() - 4, 4, ".zip") != 0) {
|
||||
if (assetName.compare(0, 6, "DeepSea") != 0 || assetName.compare(assetName.length() - 4, 4, ".zip") != 0) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -206,8 +206,8 @@ namespace ku::scenes {
|
||||
return;
|
||||
}
|
||||
|
||||
_kosmosRequest = new WebRequest(downloadUrl);
|
||||
SessionManager::makeRequest(_kosmosRequest);
|
||||
_DeepSeaRequest = new WebRequest(downloadUrl);
|
||||
SessionManager::makeRequest(_DeepSeaRequest);
|
||||
} else {
|
||||
FileManager::writeFile("temp.zip", request->response.rawResponseBody);
|
||||
|
||||
@ -227,14 +227,14 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
FileManager::deleteFile("temp.zip");
|
||||
ConfigManager::setCurrentVersion(_kosmosVersion);
|
||||
ConfigManager::setCurrentVersion(_DeepSeaVersion);
|
||||
|
||||
_updateView->setText("Applying disabled game cart option...");
|
||||
SceneDirector::currentSceneDirector->render();
|
||||
|
||||
FileManager::applyNoGC();
|
||||
|
||||
_showStatus("Kosmos has been updated to version " + _kosmosVersion + "!", "Please restart your Switch to finish the update.", true);
|
||||
_showStatus("DeepSea has been updated to version " + _DeepSeaVersion + "!", "Please restart your Switch to finish the update.", true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -44,10 +44,10 @@ namespace ku::scenes {
|
||||
ku::views::FooterView * _footerView = NULL;
|
||||
ku::views::AlertView * _restartAlertView = NULL;
|
||||
|
||||
std::string _kosmosVersion = "";
|
||||
std::string _DeepSeaVersion = "";
|
||||
|
||||
swurl::WebRequest * _kosmosUrlRequest = NULL;
|
||||
swurl::WebRequest * _kosmosRequest = NULL;
|
||||
swurl::WebRequest * _DeepSeaUrlRequest = NULL;
|
||||
swurl::WebRequest * _DeepSeaRequest = NULL;
|
||||
|
||||
void _showStatus(std::string text, std::string subtext, bool wasSuccessful);
|
||||
void _onAlertViewDismiss(ku::ModalView * view, bool success);
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -35,10 +35,10 @@ namespace ku::scenes {
|
||||
SessionManager::onCompleted = bind(&PackageSelectScene::_onCompleted, this, _1);
|
||||
SessionManager::onError = bind(&PackageSelectScene::_onError, this, _1, _2);
|
||||
|
||||
_headerView = new HeaderView("Kosmos Updater", true);
|
||||
_headerView = new HeaderView("DeepSea Updater", true);
|
||||
_headerView->frame = { 0, 0, 1280, 88 };
|
||||
|
||||
_updateView = new UpdateView("Checking for updates to Kosmos...");
|
||||
_updateView = new UpdateView("Checking for updates to DeepSea...");
|
||||
_updateView->frame.x = 0;
|
||||
_updateView->frame.y = 200;
|
||||
|
||||
@ -46,7 +46,7 @@ namespace ku::scenes {
|
||||
_statusView->frame.x = 0;
|
||||
_statusView->frame.y = 323;
|
||||
|
||||
_installRowView = new ListRowView("Install Latest Kosmos", "", SUBTITLE);
|
||||
_installRowView = new ListRowView("Install Latest DeepSea", "", SUBTITLE);
|
||||
_installRowView->frame.x = 215;
|
||||
_installRowView->frame.y = 137;
|
||||
_installRowView->isLast = true;
|
||||
@ -58,7 +58,7 @@ namespace ku::scenes {
|
||||
vector<string> buttons;
|
||||
buttons.push_back("Yes");
|
||||
buttons.push_back("No");
|
||||
_ignoreConfigsAlertView = new AlertView("Ignore Config Files?", "Would you like for Kosmos Updater to ignore config\nfiles? This will prevent Kosmos Updater from overwriting\nall config files except for Hekate's main config file.", buttons);
|
||||
_ignoreConfigsAlertView = new AlertView("Ignore Config Files?", "Would you like for DeepSea Updater to ignore config\nfiles? This will prevent DeepSea Updater from overwriting\nall config files except for Hekate's main config file.", buttons);
|
||||
_ignoreConfigsAlertView->onDismiss = bind(&PackageSelectScene::_onAlertViewDismiss, this, _1, _2);
|
||||
|
||||
addSubView(_headerView);
|
||||
@ -86,8 +86,8 @@ namespace ku::scenes {
|
||||
if (_footerView != NULL)
|
||||
delete _footerView;
|
||||
|
||||
if (_kosmosVersionRequest != NULL)
|
||||
delete _kosmosVersionRequest;
|
||||
if (_DeepSeaVersionRequest != NULL)
|
||||
delete _DeepSeaVersionRequest;
|
||||
}
|
||||
|
||||
void PackageSelectScene::handleButton(u32 buttons, double dTime) {
|
||||
@ -106,10 +106,10 @@ namespace ku::scenes {
|
||||
}
|
||||
|
||||
void PackageSelectScene::render(SDL_Rect rect, double dTime) {
|
||||
if (_kosmosVersionRequest == NULL) {
|
||||
_kosmosVersionRequest = new WebRequest("https://api.github.com/repos/AtlasNX/Kosmos/releases");
|
||||
if (_DeepSeaVersionRequest == NULL) {
|
||||
_DeepSeaVersionRequest = new WebRequest("https://api.github.com/repos/Team-Neptune/DeepSea/releases");
|
||||
SceneDirector::currentSceneDirector->render();
|
||||
SessionManager::makeRequest(_kosmosVersionRequest);
|
||||
SessionManager::makeRequest(_DeepSeaVersionRequest);
|
||||
}
|
||||
|
||||
Scene::render(rect, dTime);
|
||||
@ -127,7 +127,7 @@ namespace ku::scenes {
|
||||
_footerView->actions.clear();
|
||||
}
|
||||
|
||||
void PackageSelectScene::_showPackageSelectViews(std::string kosmosVersion) {
|
||||
void PackageSelectScene::_showPackageSelectViews(std::string DeepSeaVersion) {
|
||||
if (!ConfigManager::getReceivedIgnoreConfigWarning()) {
|
||||
_ignoreConfigsAlertView->show();
|
||||
}
|
||||
@ -139,16 +139,16 @@ namespace ku::scenes {
|
||||
_installRowView->hasFocus = true;
|
||||
|
||||
string version = ConfigManager::getCurrentVersion();
|
||||
if (version.compare(kosmosVersion) == 0) {
|
||||
_installRowView->setPrimaryText("Reinstall Kosmos");
|
||||
if (version.compare(DeepSeaVersion) == 0) {
|
||||
_installRowView->setPrimaryText("Reinstall DeepSea");
|
||||
} else {
|
||||
_installRowView->setPrimaryText("Install Latest Kosmos");
|
||||
_installRowView->setPrimaryText("Install Latest DeepSea");
|
||||
}
|
||||
|
||||
if (version == "" || version.compare(kosmosVersion) == 0) {
|
||||
_installRowView->setSecondaryText("Latest Version is " + kosmosVersion);
|
||||
if (version == "" || version.compare(DeepSeaVersion) == 0) {
|
||||
_installRowView->setSecondaryText("Latest Version is " + DeepSeaVersion);
|
||||
} else {
|
||||
_installRowView->setSecondaryText("You currently have version " + version + " installed, and the latest version is " + kosmosVersion + ".");
|
||||
_installRowView->setSecondaryText("You currently have version " + version + " installed, and the latest version is " + DeepSeaVersion + ".");
|
||||
}
|
||||
|
||||
for (auto const& action : _footerView->actions) {
|
||||
@ -187,9 +187,9 @@ namespace ku::scenes {
|
||||
files.push_back("sdmc:/config/sys-clk/config.ini");
|
||||
files.push_back("sdmc:/config/sys-ftpd/config.ini");
|
||||
files.push_back("sdmc:/ftpd/config.ini");
|
||||
files.push_back("sdmc:/switch/KosmosToolbox/config.json");
|
||||
files.push_back("sdmc:/switch/KosmosUpdater/internal.db");
|
||||
files.push_back("sdmc:/switch/KosmosUpdater/settings.cfg");
|
||||
files.push_back("sdmc:/switch/DeepSeaToolbox/config.json");
|
||||
files.push_back("sdmc:/switch/DeepSeaUpdater/internal.db");
|
||||
files.push_back("sdmc:/switch/DeepSeaUpdater/settings.cfg");
|
||||
ConfigManager::setFilesToIgnore(files);
|
||||
ConfigManager::setIgnoreConfigFiles(true);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
@ -45,10 +45,10 @@ namespace ku::scenes {
|
||||
ku::views::FooterView * _footerView = NULL;
|
||||
ku::views::AlertView * _ignoreConfigsAlertView = NULL;
|
||||
|
||||
swurl::WebRequest * _kosmosVersionRequest = NULL;
|
||||
swurl::WebRequest * _DeepSeaVersionRequest = NULL;
|
||||
|
||||
void _showUpdateView();
|
||||
void _showPackageSelectViews(std::string kosmosVersion);
|
||||
void _showPackageSelectViews(std::string DeepSeaVersion);
|
||||
void _showStatusView(std::string text, std::string subtext);
|
||||
|
||||
void _onAlertViewDismiss(ku::ModalView * view, bool success);
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -1,4 +1,4 @@
|
||||
// Kosmos Updater
|
||||
// DeepSea Updater
|
||||
// Copyright (C) 2020 Nichole Mattera
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
Loading…
Reference in New Issue
Block a user