Skip to content

Commit

Permalink
#44 Fixed issues identified during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
David032 committed Feb 12, 2024
1 parent 5dbcb23 commit 2dc29a5
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion skullOS.API/skullOS.API.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
Expand Down
5 changes: 4 additions & 1 deletion skullOS.Core/FileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public static void CreateSkullDirectory(bool usePersonalDir = true)
string pathToDir;
if (usePersonalDir)
{
pathToDir = @Environment.GetFolderPath(Environment.SpecialFolder.Personal);
//pathToDir = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
pathToDir = Environment.GetEnvironmentVariable("HOME");
Console.WriteLine("Path to personal dir is " + pathToDir);
}
else
{
Expand All @@ -37,6 +39,7 @@ public static void CreateSkullDirectory(bool usePersonalDir = true)
throw new Exception("Root directory not defined!");
}
rootDirectoryPath = rootDirectory.FullName;
Console.WriteLine("Root directory is: " + rootDirectoryPath);
}

public static string GetSkullDirectory()
Expand Down
2 changes: 1 addition & 1 deletion skullOS.Core/skullOS.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion skullOS.HardwareServices/skullOS.HardwareServices.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion skullOS.Modules/skullOS.Modules.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions skullOS/Data/InputSettings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Camera(Image)=0
3 changes: 1 addition & 2 deletions skullOS/Data/Modules.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Prop=True
Adventure=True
Support=True
Camera=True
1 change: 1 addition & 0 deletions skullOS/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ static void Run(bool shouldCreateDirectory = true)
{
if (shouldCreateDirectory)
{
Console.WriteLine("Use personal dir? " + usePersonalDir);
FileManager.CreateSkullDirectory(usePersonalDir);
}

Expand Down
3 changes: 1 addition & 2 deletions skullOS/skullOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
Expand All @@ -12,7 +12,6 @@
<ProjectReference Include="..\skullOS.Core\skullOS.Core.csproj" />
<ProjectReference Include="..\skullOS.HardwareServices\skullOS.HardwareServices.csproj" />
<ProjectReference Include="..\skullOS.Modules\skullOS.Modules.csproj" />
<ProjectReference Include="..\skullOS.API\skullOS.API.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 2dc29a5

Please sign in to comment.