Commit 5b9d046 1 parent 4aa4021 commit 5b9d046 Copy full SHA for 5b9d046
File tree 5 files changed +16
-27
lines changed
ImeSense.Launchers.Belarus.Avalonia
ImeSense.Launchers.Belarus.Core/Helpers
5 files changed +16
-27
lines changed Original file line number Diff line number Diff line change 1
1
dotnet publish src\ImeSense.Launchers.Belarus.CryptoHasher\ImeSense.Launchers.Belarus.CryptoHasher.csproj ^
2
2
--configuration Release ^
3
- --runtime win-x86 ^
4
- --self-contained true ^
5
- -p:PublishSingleFile=true ^
6
- -p:IncludeAllContentForSelfExtract=true ^
7
- -p:EnableCompressionInSingleFile=true ^
8
- -p:DebugSymbols=false ^
9
- -p:DebugType=None
3
+ --runtime win-x64 ^
4
+ -p:PublishAot=true ^
5
+ -p:InvariantGlobalization=true ^
6
+ -p:IsAotCompatible=true
7
+
Original file line number Diff line number Diff line change 1
1
dotnet publish src\ImeSense.Launchers.Belarus.Avalonia\ImeSense.Launchers.Belarus.Avalonia.csproj ^
2
2
--configuration Release ^
3
- --runtime win-x86 ^
4
- --self-contained true ^
5
- -p:PublishSingleFile=true ^
6
- -p:IncludeAllContentForSelfExtract=true ^
7
- -p:EnableCompressionInSingleFile=true ^
8
- -p:DebugSymbols=false ^
9
- -p:DebugType=None
3
+ --runtime win-x64 ^
4
+ -p:PublishAot=true ^
5
+ -p:InvariantGlobalization=true ^
6
+ -p:IsAotCompatible=true
Original file line number Diff line number Diff line change 1
1
dotnet publish src\ImeSense.Launchers.Belarus.Updater\ImeSense.Launchers.Belarus.Updater.csproj ^
2
2
--configuration Release ^
3
- --runtime win-x86 ^
4
- --self-contained true ^
5
- -p:PublishSingleFile=true ^
6
- -p:IncludeAllContentForSelfExtract=true ^
7
- -p:EnableCompressionInSingleFile=true ^
8
- -p:DebugSymbols=false ^
9
- -p:DebugType=None
3
+ --runtime win-x64 ^
4
+ -p:PublishAot=true ^
5
+ -p:InvariantGlobalization=true ^
6
+ -p:IsAotCompatible=true
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace ImeSense.Launchers.Belarus.Avalonia;
11
11
12
12
public class ViewLocator : IDataTemplate {
13
13
public Control Build ( object ? data ) {
14
- var name = data ! . GetType ( ) . FullName ! . Replace ( "ViewModel" , "View" ) ;
14
+ var name = $ " { data ! . GetType ( ) . FullName ! . Replace ( "ViewModel" , "View" ) } " ;
15
15
var type = Type . GetType ( name ) ;
16
16
17
17
if ( type != null ) {
Original file line number Diff line number Diff line change @@ -5,13 +5,10 @@ namespace ImeSense.Launchers.Belarus.Core.Helpers;
5
5
6
6
public static class ApplicationHelper {
7
7
public static string GetAppVersion ( ) {
8
- var entryAssembly = Assembly . GetEntryAssembly ( ) ;
9
- var version = entryAssembly ! . GetName ( ) . Version ;
10
- return $ "{ version ! . Major } .{ version . Minor } ";
8
+ return "2.1" ;
11
9
}
12
10
13
11
public static string ? GetCompanyName ( ) {
14
- var versionInfo = FileVersionInfo . GetVersionInfo ( Assembly . GetEntryAssembly ( ) ! . Location ) ;
15
- return versionInfo . CompanyName ;
12
+ return "ImeSense" ;
16
13
}
17
14
}
You can’t perform that action at this time.
0 commit comments