Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Support relative paths from command line #52

Merged
merged 1 commit into from
Mar 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions UnityLauncher/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ void Start()
// path
var projectPathArgument = args[2];

// resolve full path if path parameter isn't a rooted path
if (!Path.IsPathRooted(projectPathArgument))
{
projectPathArgument = Directory.GetCurrentDirectory() + projectPathArgument;
}

var version = Tools.GetProjectVersion(projectPathArgument);

// take extra arguments also
Expand Down