File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
src/Views/Pages/Environment Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11param (
22 [string ] $Architecture = " x64" ,
3- [string ] $Version = " 0.1.2 .0"
3+ [string ] $Version = " 0.1.3 .0"
44)
55
66$ErrorActionPreference = " Stop" ;
77
88Write-Output " Start building singleWithRuntime..." ;
99
10- dotnet publish src/ PipManager.Windows.csproj - c Release - r " win-$Architecture " - o " build/$Version /singleWithRuntime" - p:Platform= $Architecture - p:PublishReadyToRun= true - p:EnableCompressionInSingleFile= true - p:PublishSingleFile= true - p:SelfContained= true - p:AssemblyVersion= $Version - p:Configuration= Release;
10+ dotnet publish src/ PipManager.Windows.csproj - c Release - r " win-$Architecture " - o " build/$Version /singleWithRuntime" - p:Platform= $Architecture - p:PublishReadyToRun= false - p:EnableCompressionInSingleFile= true - p:PublishSingleFile= true - p:SelfContained= true - p:AssemblyVersion= $Version - p:Configuration= Release;
1111
1212Rename-Item - Path " build/$Version /singleWithRuntime/PipManager.Windows.exe" - NewName " PipManager_withRuntime.exe"
1313
Original file line number Diff line number Diff line change 6666 <StackPanel
6767 Grid.Column=" 2"
6868 HorizontalAlignment =" Right"
69- Margin =" 0,0,20 ,6"
69+ Margin =" 0,0,18 ,6"
7070 Orientation =" Horizontal"
7171 VerticalAlignment =" Center" >
7272 <ui : Button
8383 Margin =" 5,0,0,0"
8484 ToolTip =" {I18N {x:Static lang:LangKeys.Environment_Operation_PopupConsole}}" />
8585 <ui : Button
86- Appearance = " Success "
86+ BorderBrush = " GreenYellow "
8787 Command =" {Binding ViewModel.CheckEnvironmentUpdateCommand, RelativeSource={RelativeSource AncestorType={x:Type environment:EnvironmentPage}}}"
8888 CommandParameter =" {Binding}"
8989 FontSize =" 18"
90+ Foreground =" GreenYellow"
9091 Icon =" {ui:SymbolIcon ArrowUp20}"
9192 Margin =" 5,0,0,0"
9293 ToolTip =" {I18N {x:Static lang:LangKeys.Environment_Operation_CheckEnvironmentUpdate}}" />
9394 <ui : Button
94- Appearance = " Caution "
95+ BorderBrush = " Orange "
9596 Command =" {Binding ViewModel.CheckEnvironmentCommand, RelativeSource={RelativeSource AncestorType={x:Type environment:EnvironmentPage}}}"
9697 CommandParameter =" {Binding}"
9798 FontSize =" 18"
99+ Foreground =" Orange"
98100 Icon =" {ui:SymbolIcon Check20}"
99101 Margin =" 5,0,0,0"
100102 ToolTip =" {I18N {x:Static lang:LangKeys.Environment_Operation_VerifyEnvironment}}" />
101103 <ui : Button
102- Appearance = " Caution "
104+ BorderBrush = " Orange "
103105 Command =" {Binding ViewModel.ClearCacheCommand, RelativeSource={RelativeSource AncestorType={x:Type environment:EnvironmentPage}}}"
104106 CommandParameter =" {Binding}"
105107 FontSize =" 18"
108+ Foreground =" Orange"
106109 Icon =" {ui:SymbolIcon Eraser20}"
107110 Margin =" 5,0,0,0"
108111 ToolTip =" {I18N {x:Static lang:LangKeys.Environment_Operation_ClearEnvironmentCache}}" />
109112 <ui : Button
110- Appearance = " Danger "
113+ BorderBrush = " OrangeRed "
111114 Command =" {Binding ViewModel.RemoveEnvironmentCommand, RelativeSource={RelativeSource AncestorType={x:Type environment:EnvironmentPage}}}"
112115 CommandParameter =" {Binding}"
113116 FontSize =" 18"
117+ Foreground =" OrangeRed"
114118 Icon =" {ui:SymbolIcon Delete20}"
115119 Margin =" 5,0,0,0"
116120 ToolTip =" {I18N {x:Static lang:LangKeys.Environment_Operation_RemoveEnvironment}}" />
You can’t perform that action at this time.
0 commit comments