1
0
Fork 0

changed directory from bin to data

This commit is contained in:
JoshuaMKW 2020-08-25 22:10:37 -05:00
parent 63f3d717da
commit bc07a4df5b

View file

@ -90,7 +90,7 @@ public class Installer
private void SetProgramFolder(string folderName)
{
this.programfolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "GeckoLoader", "bin");
this.programfolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "GeckoLoader", "data");
}
private void SetProgramFolderToPath()
@ -119,7 +119,7 @@ public class Installer
private bool MoveFilesToprogramfolder(string wildcard, bool copy = true, bool overwrite = false)
{
DirectoryInfo cwd = new DirectoryInfo(Path.Combine(Directory.GetCurrentDirectory(), "bin"));
DirectoryInfo cwd = new DirectoryInfo(Path.Combine(Directory.GetCurrentDirectory(), "data"));
DirectoryInfo programspace = new DirectoryInfo(this.programfolder);
if (!programspace.Exists) programspace.Create();