Skip to content

Commit

Permalink
feat: new profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
minkostaev committed Dec 28, 2022
1 parent d68ccd5 commit 4cefaa6
Show file tree
Hide file tree
Showing 9 changed files with 78 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
cd ${{ env.Proj_Name }}
#dotnet publish ShortcutsGrid.csproj /p:PublishProfile="Win System"
#copy "bin\Win System\net6.0-windows\publish\win-x64\Win System.exe" ..\\${{ env.Test_Proj_Dir }}\\TestResults
$exes = "Win Admin","Win System","Browsers","Office","Utils","Connections","Disk Tools"
$exes = "Win System","Win Admin","Office","Utils","Browsers","Connections","Disk Tools","Audio","Image","Video","Hardware"
foreach ($name in $exes){dotnet publish ShortcutsGrid.csproj /p:PublishProfile="$name"}
foreach ($name in $exes){copy "bin\$name\net6.0-windows\publish\win-x64\$name.exe" ..\\${{ env.Test_Proj_Dir }}\\TestResults}
Expand Down
19 changes: 19 additions & 0 deletions ShortcutsGrid/Properties/PublishProfiles/Audio.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Audio\net6.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net6.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<ApplicationIcon>Resources\audio-128.ico</ApplicationIcon>
<AssemblyName>Audio</AssemblyName>
</PropertyGroup>
</Project>
19 changes: 19 additions & 0 deletions ShortcutsGrid/Properties/PublishProfiles/Hardware.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Hardware\net6.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net6.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<ApplicationIcon>Resources\hardware-128.ico</ApplicationIcon>
<AssemblyName>Hardware</AssemblyName>
</PropertyGroup>
</Project>
19 changes: 19 additions & 0 deletions ShortcutsGrid/Properties/PublishProfiles/Image.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Image\net6.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net6.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<ApplicationIcon>Resources\image-128.ico</ApplicationIcon>
<AssemblyName>Image</AssemblyName>
</PropertyGroup>
</Project>
19 changes: 19 additions & 0 deletions ShortcutsGrid/Properties/PublishProfiles/Video.pubxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<PublishDir>bin\Video\net6.0-windows\publish\win-x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<TargetFramework>net6.0-windows</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>True</PublishSingleFile>
<PublishReadyToRun>False</PublishReadyToRun>
<ApplicationIcon>Resources\video-128.ico</ApplicationIcon>
<AssemblyName>Video</AssemblyName>
</PropertyGroup>
</Project>
Binary file added ShortcutsGrid/Resources/audio-128.ico
Binary file not shown.
Binary file added ShortcutsGrid/Resources/image-128.ico
Binary file not shown.
Binary file added ShortcutsGrid/Resources/video-128.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion ShortcutsGrid/ShortcutsGrid.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<ApplicationIcon>Resources\disk-tools-128.ico</ApplicationIcon>
<ApplicationIcon>Resources\hardware-128.ico</ApplicationIcon>
<AssemblyVersion>1.2.2.1</AssemblyVersion>
<FileVersion>1.2.2.1</FileVersion>
<VersionPrefix>1.2.2</VersionPrefix>
Expand Down

0 comments on commit 4cefaa6

Please sign in to comment.