Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit fbcc3a8

Browse files
Update octorun installer to look for folder inside zip
It is easier to "right click -> zip" a folder in most OSs. So we should just expect that people will do this.
1 parent 19ec841 commit fbcc3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Installer/OctorunInstaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ITask<NPath> SetupOctorunIfNeeded()
4646
var unzipTask = new UnzipTask(taskManager.Token, installDetails.ZipFile,
4747
tempZipExtractPath, sharpZipLibHelper,
4848
fileSystem)
49-
.Then((success, p) => MoveOctorun(p));
49+
.Then((success, extractPath) => MoveOctorun(extractPath.Combine("octorun")));
5050
t.Then(unzipTask);
5151
}
5252
};

0 commit comments

Comments
 (0)