Run VS Code Cleanup, update .gitignore

This commit is contained in:
Michael 2022-03-21 23:15:09 -05:00
parent 40fd02af08
commit 6013a3d36f
Signed by: TheShadowEevee
GPG key ID: 7A8AA92B3BAFAB75
10 changed files with 50 additions and 48 deletions

2
.gitignore vendored
View file

@ -5,5 +5,3 @@
/.vs /.vs
/bin /bin
/obj /obj
/Sharpii/obj/x86
/WadInstaller/obj/Debug

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -17,9 +17,6 @@
*/ */
using System; using System;
using System.IO;
using System.Numerics;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -16,10 +16,10 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System;
using System.IO;
using System.Collections.Generic;
using libWiiSharp; using libWiiSharp;
using System;
using System.Collections.Generic;
using System.IO;
namespace Sharpii namespace Sharpii
{ {
@ -426,9 +426,12 @@ namespace Sharpii
if (BeQuiet.quiet > 1) if (BeQuiet.quiet > 1)
Console.Write("Downloading content..."); Console.Write("Downloading content...");
if (url != "") { if (url != "")
{
nus.DownloadSingleContent(id, version, content, output, url); nus.DownloadSingleContent(id, version, content, output, url);
} else { }
else
{
nus.DownloadSingleContent(id, version, content, output); nus.DownloadSingleContent(id, version, content, output);
} }
@ -441,13 +444,17 @@ namespace Sharpii
Console.Write("Downloading title...\n"); Console.Write("Downloading title...\n");
string realout = output; string realout = output;
if (wad == true) { if (wad == true)
{
output = temp; output = temp;
} }
if (url != "") { if (url != "")
{
nus.DownloadTitle(id, version, output, url, store.ToArray()); nus.DownloadTitle(id, version, output, url, store.ToArray());
} else { }
else
{
nus.DownloadTitle(id, version, output, store.ToArray()); nus.DownloadTitle(id, version, output, store.ToArray());
} }

View file

@ -178,7 +178,7 @@ namespace Sharpii
} }
} }
} }
public class DeleteADir public class DeleteADir
{ {
public static bool DeleteDirectory(string target_dir) public static bool DeleteDirectory(string target_dir)

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {

View file

@ -16,9 +16,9 @@
* along with Sharpii. If not, see <http://www.gnu.org/licenses/>. * along with Sharpii. If not, see <http://www.gnu.org/licenses/>.
*/ */
using libWiiSharp;
using System; using System;
using System.IO; using System.IO;
using libWiiSharp;
namespace Sharpii namespace Sharpii
{ {