Misc. string updates for just werks usb
This commit is contained in:
parent
b8d14b2f3e
commit
7f23d1bf68
@ -253,7 +253,7 @@ namespace netInstStuff{
|
||||
}
|
||||
if (kDown & KEY_X)
|
||||
{
|
||||
inst::ui::mainApp->CreateShowDialog("Help", "Files can be installed remotely from your other devices using tools such\nas ns-usbloader or Fluffy. To send these files to your Switch, simply\nopen one of the pieces of software recomended above on your PC or mobile\ndevice, input your Switch's IP address (listed on-screen), select your\nfiles, then upload to your console! If the software you're using won't\nlet you select specific file types, try renaming the extension to\nsomething it accepts. Awoo Installer doesn't care about file extensions\nduring net installations!\n\nIf you can't figure it out, just copy your files to your SD card and try\nthe \"Install from SD Card\" option on the main menu!", {"OK"}, true);
|
||||
inst::ui::mainApp->CreateShowDialog("Help", "Files can be installed remotely from your other devices using tools such\nas ns-usbloader in Tinfoil mode. To send files to your Switch, open one\nof these pieces of software on your PC or mobile device, input your\nSwitch's IP address (listed on-screen), select your files, then upload\nto your console! If the software you're using won't let you select\nspecific file types, try renaming the extension to something it accepts.\nAwoo Installer doesn't care about file extensions during net installations!\n\nIf you can't figure it out, just copy your files to your SD card and try\nthe \"Install from SD Card\" option on the main menu!", {"OK"}, true);
|
||||
}
|
||||
|
||||
struct sockaddr_in client;
|
||||
|
@ -79,7 +79,7 @@ namespace inst::ui {
|
||||
|
||||
void MainPage::usbInstallMenuItem_Click() {
|
||||
if (!inst::config::usbAck) {
|
||||
if (mainApp->CreateShowDialog("Warning!", "Due to the nature of libnx's USB comms implementation, USB installations\nmay not \"just werk\" on some devices and setups. If you experience issues\nwith USB installations, please don't pull your hair out! It's advised to\nuse LAN/Internet installations instead for remote installation, especially\nwhen paired with an ethernet adapter! It is not recomended, but disabling\nNCA verification in Awoo Installer's settings may help if you plan to use\nUSB installations a lot.\n\nThis is not Awoo Installer's fault, I promise. You have been warned...", {"OK", "Don't tell me again"}, false) == 1) {
|
||||
if (mainApp->CreateShowDialog("Warning!", "USB installations may not \"just werk\" on some devices and setups.\nIf you experience issues with USB installations, please don't pull your\nhair out! It's advised to use ns-usbloader for USB installations, or\nLAN/Internet installations instead for remote installation, especially\nwhen paired with an ethernet adapter!\n\nYou have been warned...", {"OK", "Don't tell me again"}, false) == 1) {
|
||||
inst::config::usbAck = true;
|
||||
inst::config::setConfig();
|
||||
}
|
||||
|
@ -46,12 +46,11 @@ namespace usbInstStuff {
|
||||
hidScanInput();
|
||||
u64 kDown = hidKeysDown(CONTROLLER_P1_AUTO);
|
||||
if (kDown & KEY_B) return {};
|
||||
if (kDown & KEY_X) inst::ui::mainApp->CreateShowDialog("Help", "Files can be installed over USB from other devices using tools such as\nns-usbloader or Fluffy. To send these files to your Switch, open one of\nthe pieces of software recomended above on your PC, select your files,\nthen upload to your console!\n\nUnfortunately USB installations require a specific setup on some\nplatforms, and can be rather buggy at times due to the nature of libnx's\nUSB comms. If you can't figure it out, give LAN/internet installs a try,\nor copy your files to your SD card and try the \"Install from SD Card\"\noption on the main menu!", {"OK"}, true);
|
||||
if (kDown & KEY_X) inst::ui::mainApp->CreateShowDialog("Help", "Files can be installed over USB from other devices using tools such as\nns-usbloader in Tinfoil mode. To send files to your Switch, open one of\nthese pieces of software on your PC, select your files, then upload to\nyour console!\n\nUnfortunately USB installations require a specific setup on some\nplatforms, and can be rather buggy at times. If you can't figure it out,\ngive LAN/internet installs a try, or copy your files to your SD card and\ntry the \"Install from SD Card\" option on the main menu!", {"OK"}, true);
|
||||
if (inst::util::getUsbState() != 5) return {};
|
||||
}
|
||||
|
||||
if (header.magic != 0x304C5554)
|
||||
return {};
|
||||
if (header.magic != 0x304C5554) return {};
|
||||
|
||||
auto titleListBuf = std::make_unique<char[]>(header.titleListSize+1);
|
||||
std::vector<std::string> titleNames;
|
||||
|
Reference in New Issue
Block a user