Skip to content

Commit

Permalink
Prep for 0.1.0 package.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Dec 9, 2021
1 parent 4dfc1ef commit 5f2869e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions Directory.build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Project>
<PropertyGroup>
<Version>0.1.0</Version>
<DefineConstants Condition="'$(FullRelease)' == 'true'">$(DefineConstants);FULL_RELEASE</DefineConstants>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Drizzle.Editor/Drizzle.Editor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="Avalonia" Version="0.10.10" />
<PackageReference Include="Avalonia.Desktop" Version="0.10.10" />
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.10" />
<PackageReference Include="Avalonia.Diagnostics" Version="0.10.10" Condition="'$(Configuration)' == 'Debug'" />
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.10" />
<PackageReference Include="Avalonia.Controls.PanAndZoom" Version="4.3.0" />
<PackageReference Include="DynamicData" Version="7.4.3" />
Expand Down
6 changes: 5 additions & 1 deletion Drizzle.Lingo.Runtime/LingoRuntime.FileSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ public partial class LingoRuntime

static LingoRuntime()
{
#if FULL_RELEASE
var path = Path.Combine(Assembly.GetEntryAssembly()!.Location, "..", "Data");
#else
var path = Path.Combine(Assembly.GetEntryAssembly()!.Location, "..", "..", "..", "..", "..", "Data");
#endif
MovieBasePath = Path.GetFullPath(path) + Path.DirectorySeparatorChar;
CastPath = Path.Combine(MovieBasePath, "Cast");
}
Expand All @@ -36,4 +40,4 @@ public string GetFilePath(string relPath)

return fullPath;
}
}
}
1 change: 1 addition & 0 deletions DrizzleEdit.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
LICENSE.txt = LICENSE.txt
README.md = README.md
Directory.build.props = Directory.build.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Drizzle.Lingo.Tests", "Drizzle.Lingo.Tests\Drizzle.Lingo.Tests.csproj", "{3B36DF08-A34A-4BF1-9EE2-94E571FCF817}"
Expand Down

0 comments on commit 5f2869e

Please sign in to comment.