Skip to content

Commit 17466b4

Browse files
committed
Compile the program for x86 architecture to reduce the executable size and remove the requirement to have an x64 OS
1 parent b0d0886 commit 17466b4

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Function Publish($slnFile, $version, $outDir) {
4141
$Env:DOTNET_CLI_TELEMETRY_OPTOUT = "true"
4242
dotnet publish `
4343
--self-contained true `
44-
--runtime win-x64 `
44+
--runtime win-x86 `
4545
--configuration Release `
4646
--output $outDir `
4747
/property:PublishSingleFile=true `

BluetoothDevicePairing.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BluetoothDevicePairing", "S
77
EndProject
88
Global
99
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|x64 = Debug|x64
11-
Release|x64 = Release|x64
10+
Debug|x86 = Debug|x86
11+
Release|x86 = Release|x86
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14-
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Debug|x64.ActiveCfg = Debug|x64
15-
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Debug|x64.Build.0 = Debug|x64
16-
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Release|x64.ActiveCfg = Release|x64
17-
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Release|x64.Build.0 = Release|x64
14+
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Debug|x86.ActiveCfg = Debug|x86
15+
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Debug|x86.Build.0 = Debug|x86
16+
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Release|x86.ActiveCfg = Release|x86
17+
{728939B3-82EA-4471-9CC7-3403EAD1E537}.Release|x86.Build.0 = Release|x86
1818
EndGlobalSection
1919
GlobalSection(SolutionProperties) = preSolution
2020
HideSolutionNode = FALSE

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Console utility to discover and pair/connect Bluetooth and Bluetooth LE devices.
33
The main reason to create this utility was to be able to pair Bluetooth devices from console in the same way it is done by built in into Windows "Bluetooth & other devices" dialog.
44

55
# System requirements
6-
Windows 10 1809 (10.0.17763) 64bit or higher<br>
6+
Windows 10 1809 (10.0.17763) or higher<br>
77

88
# How to use
99
* Download and unpack the latest [release](https://github.com/PolarGoose/BluetoothDevicePairing/releases).

Src/BluetoothDevicePairing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<TargetFramework>net5.0</TargetFramework>
5-
<Platforms>x64</Platforms>
5+
<Platforms>x86</Platforms>
66
<Nullable>disable</Nullable>
77
<TargetFramework>net5.0-windows10.0.17763.0</TargetFramework>
88
</PropertyGroup>

0 commit comments

Comments
 (0)