This repository was archived by the owner on May 27, 2021. It is now read-only.
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
<RootNamespace >Rune.CLI</RootNamespace >
8
8
<ApplicationIcon >resource\icon.ico</ApplicationIcon >
9
9
<StartupObject ></StartupObject >
10
- <Version >0.70.801 </Version >
10
+ <Version >0.70.802 </Version >
11
11
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
12
12
<PlatformTarget >x64</PlatformTarget >
13
13
</PropertyGroup >
Original file line number Diff line number Diff line change @@ -121,18 +121,18 @@ private async Task<int> InstallVMBinaries()
121
121
{
122
122
try
123
123
{
124
- if ( Dirs . CompilerFolder . EnumerateFiles ( ) . Any ( ) )
124
+ if ( Dirs . VMFolder . EnumerateFiles ( ) . Any ( ) )
125
125
Console . WriteLine ( $ "Detected already installed vm, reinstall...". Color ( Color . Orange ) ) ;
126
126
127
127
128
- if ( Dirs . CompilerFolder . EnumerateFiles ( ) . Any ( ) )
128
+ if ( Dirs . VMFolder . EnumerateFiles ( ) . Any ( ) )
129
129
_ = Dirs . CompilerFolder . EnumerateFiles ( ) . Pipe ( x => x . Delete ( ) ) . ToArray ( ) ;
130
130
131
131
var result = await Appx . By ( AppxType . vm )
132
132
. DownloadAsync ( ) ;
133
133
Console . Write ( $ "{ ":open_file_folder:" . Emoji ( ) } Extract files") ;
134
134
await RuneTask . Fire ( ( ) =>
135
- ZipFile . ExtractToDirectory ( result . FullName , Dirs . CompilerFolder . FullName ) ) ;
135
+ ZipFile . ExtractToDirectory ( result . FullName , Dirs . VMFolder . FullName ) ) ;
136
136
}
137
137
catch ( Exception e )
138
138
{
You can’t perform that action at this time.
0 commit comments