Improve build identification (#927)
* Improve build identification Add versioning on CI build Fix #887 * Fix appveyor * Fix appveyor for real now
This commit is contained in:
parent
505f95848b
commit
8d83878f67
5 changed files with 11 additions and 6 deletions
|
@ -6,11 +6,14 @@ using Ryujinx.Ui;
|
|||
using OpenTK;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace Ryujinx
|
||||
{
|
||||
class Program
|
||||
{
|
||||
public static string Version { get; private set; }
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Toolkit.Init(new ToolkitOptions
|
||||
|
@ -21,6 +24,8 @@ namespace Ryujinx
|
|||
|
||||
Console.Title = "Ryujinx Console";
|
||||
|
||||
Version = Assembly.GetEntryAssembly().GetCustomAttribute<AssemblyInformationalVersionAttribute>().InformationalVersion;
|
||||
|
||||
string systemPath = Environment.GetEnvironmentVariable("Path", EnvironmentVariableTarget.Machine);
|
||||
Environment.SetEnvironmentVariable("Path", $"{Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin")};{systemPath}");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue