From 56cb0866c40c97d7dc50e6e2a339c1b957347010 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Sat, 1 Sep 2018 18:15:36 -0400 Subject: finally, file system is in appdata and added licenses to new files --- PortEngine/FileSystem.cs | 33 +++++++++++++++++++++++++++++++++ PortEngine/PortEngine.csproj | 1 + PortEngine/StorylineAPI.cs | 21 ++++++++++++++++++++- PortsTerminal/Program.cs | 21 ++++++++++++++++++++- Project Ports/MainMenu.cs | 3 +-- 5 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 PortEngine/FileSystem.cs diff --git a/PortEngine/FileSystem.cs b/PortEngine/FileSystem.cs new file mode 100644 index 0000000..35f7ee6 --- /dev/null +++ b/PortEngine/FileSystem.cs @@ -0,0 +1,33 @@ +/************************************************************************ + * + * PortEngine + * Copyright (C) 2018 UniverseDG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + **************************************************************************/ +using System; +using System.IO; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PortEngine +{ + class FileSystem + { + + } +} diff --git a/PortEngine/PortEngine.csproj b/PortEngine/PortEngine.csproj index 193957f..2364df5 100644 --- a/PortEngine/PortEngine.csproj +++ b/PortEngine/PortEngine.csproj @@ -58,6 +58,7 @@ EarnSite.cs + diff --git a/PortEngine/StorylineAPI.cs b/PortEngine/StorylineAPI.cs index 370080e..db03baf 100644 --- a/PortEngine/StorylineAPI.cs +++ b/PortEngine/StorylineAPI.cs @@ -1,4 +1,23 @@ -using System; +/************************************************************************ + * + * PortEngine + * Copyright (C) 2018 UniverseDG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + **************************************************************************/ +using System; using System.Threading; using System.Collections.Generic; using System.Linq; diff --git a/PortsTerminal/Program.cs b/PortsTerminal/Program.cs index 6640c6c..39cb68a 100644 --- a/PortsTerminal/Program.cs +++ b/PortsTerminal/Program.cs @@ -1,4 +1,23 @@ -using System; +/************************************************************************ + * + * PortsTerminal + * Copyright (C) 2018 UniverseDG + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + **************************************************************************/ +using System; using System.Collections.Generic; using System.Linq; using System.Text; diff --git a/Project Ports/MainMenu.cs b/Project Ports/MainMenu.cs index c72bda2..d97a672 100644 --- a/Project Ports/MainMenu.cs +++ b/Project Ports/MainMenu.cs @@ -77,10 +77,9 @@ namespace Project_Ports portsVersion.Text = Properties.Settings.Default.version; string appDataPath = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData); - string path = Path.Combine(appDataPath, @"\UniverseDG\Project_Ports"); + string path = Path.Combine(appDataPath, "Project Ports"); if (!Directory.Exists(path)) Directory.CreateDirectory(path); - } } -- cgit v1.2.3