Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
woah
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatNerdyPikachu committed Aug 16, 2018
1 parent c33f074 commit 4616ff7
Show file tree
Hide file tree
Showing 3 changed files with 741 additions and 5 deletions.
17 changes: 15 additions & 2 deletions LaunchpadNX/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 23 additions & 3 deletions LaunchpadNX/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,22 @@ private void startButton_Click(object sender, EventArgs e)
// install switch dev tools
RunCommand("pacman -S switch-dev devkitARM --noconfirm --needed");

// Hekate (TODO: add no bootlogo patches for users who want them)
RunCommand("git clone https://github.com/CTCaer/hekate.git temp\\hekate && cd temp\\hekate && make -j");
// Hekate
//
// clone it
RunCommand("git clone https://github.com/CTCaer/hekate.git temp\\hekate");

// apply patch
if (noBootlogoCheckbox.Checked)
{
RunCommand("cd temp\\hekate && git apply ../../files/no-bootlogo.patch");
}

// build it
RunCommand("cd temp\\hekate && make -j");

// copy file

File.Copy("temp\\hekate\\ipl.bin", "CFW.bin", true);

// Atmosphere base (always ran)
Expand Down Expand Up @@ -346,8 +360,14 @@ private void startButton_Click(object sender, EventArgs e)
// cleanup
RunCommand("rmdir /S /Q temp");

string done = "Done! Copy the contents of the \"SD Root\" folder to your SD Card, then launch the CFW.bin payload using your favorite method!";
if (hbmenuCheckbox.Checked)
{
done = done + " (Since you selected hbmenu, you can load it by holding R while launching the " + hbmenuTitleSelect.Text + " from the HOME menu)";
}

// we are done!
MessageBox.Show("Done! Copy the contents of the \"SD Root\" folder to your SD Card, then launch the CFW.bin payload using your favorite method!",
MessageBox.Show(done,
"LaunchpadNX", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
Expand Down
Loading

0 comments on commit 4616ff7

Please sign in to comment.