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

Commit 58e8729

Browse files
committed
fiiiix install vm
1 parent 665e7b0 commit 58e8729

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Rune.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<RootNamespace>Rune.CLI</RootNamespace>
88
<ApplicationIcon>resource\icon.ico</ApplicationIcon>
99
<StartupObject></StartupObject>
10-
<Version>0.70.801</Version>
10+
<Version>0.70.802</Version>
1111
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1212
<PlatformTarget>x64</PlatformTarget>
1313
</PropertyGroup>

src/cmd/InstallCommand.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,18 +121,18 @@ private async Task<int> InstallVMBinaries()
121121
{
122122
try
123123
{
124-
if (Dirs.CompilerFolder.EnumerateFiles().Any())
124+
if (Dirs.VMFolder.EnumerateFiles().Any())
125125
Console.WriteLine($"Detected already installed vm, reinstall...".Color(Color.Orange));
126126

127127

128-
if (Dirs.CompilerFolder.EnumerateFiles().Any())
128+
if (Dirs.VMFolder.EnumerateFiles().Any())
129129
_ = Dirs.CompilerFolder.EnumerateFiles().Pipe(x => x.Delete()).ToArray();
130130

131131
var result = await Appx.By(AppxType.vm)
132132
.DownloadAsync();
133133
Console.Write($"{":open_file_folder:".Emoji()} Extract files");
134134
await RuneTask.Fire(() =>
135-
ZipFile.ExtractToDirectory(result.FullName, Dirs.CompilerFolder.FullName));
135+
ZipFile.ExtractToDirectory(result.FullName, Dirs.VMFolder.FullName));
136136
}
137137
catch (Exception e)
138138
{

0 commit comments

Comments
 (0)