Skip to content

Commit 21e4109

Browse files
committed
reduce release size
+semver: patch
1 parent c08de70 commit 21e4109

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: dotnet build --no-restore -p:Version=${{ env.fullSemVer }}
4646

4747
- name: Publish
48-
run: dotnet publish SilentSoundGenerator/SilentSoundGenerator.csproj -c Release -r win-x64 --self-contained -p:Version=${{ env.fullSemVer }} -o "./publish"
48+
run: dotnet publish SilentSoundGenerator/SilentSoundGenerator.csproj -c Release -p:Version=${{ env.fullSemVer }} -o "./publish"
4949

5050
- uses: vimtor/[email protected]
5151
with:

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,23 @@ Many wireless headsets, especially Jabra models, have a feature that turns them
1919

2020
## Installation
2121

22+
1. **[Download](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) and install** dotnet 8 runtime
23+
2224
1. **Download the Latest Release**: Go to the [Releases page](https://github.com/Q-Sharp/SilentSoundGenerator/releases) and download the latest version of the executable.
2325

24-
2. **Run the Application**: Simply run the downloaded `.exe` file. It will start simulating silent audio playback and will continue to do so until it is closed.
26+
1. **Run the Application**: Simply run the downloaded `.exe` file. It will start simulating silent audio playback and will continue to do so until it is closed.
2527

26-
3. **(Optional) Add to Autostart**: To ensure the application starts automatically with Windows:
28+
1. **(Optional) Add to Autostart**: To ensure the application starts automatically with Windows:
2729
- **Manual Method**: Create a shortcut of the `SilentSoundGenerator.exe` file and place it in the Windows Startup folder. You can access this folder by pressing `Win + R`, typing `shell:startup`, and pressing Enter. Paste the shortcut in the opened folder.
2830
- **Automated Method**: You can use third-party tools or scripts to add the application to the startup automatically.
2931

3032
## Usage
3133

3234
1. **Launch the Application**: Double-click on the executable file to start the Silent Sound Generator.
3335

34-
2. **Keep Your Headset Active**: The application will continuously play silent audio, preventing your wireless headset from automatically turning off.
36+
1. **Keep Your Headset Active**: The application will continuously play silent audio, preventing your wireless headset from automatically turning off.
3537

36-
3. **Stop the Application**: To stop the simulation, close the application window or use the task manager to terminate the process.
38+
1. **Stop the Application**: To stop the simulation, close the application window or use the task manager to terminate the process.
3739

3840
## How It Works
3941

SilentSoundGenerator/SilentSoundGenerator.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@
55
<TargetFramework>net8.0-windows</TargetFramework>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<PublishSingleFile>true</PublishSingleFile>
9+
<SelfContained>false</SelfContained>
10+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
11+
<PublishReadyToRun>true</PublishReadyToRun>
12+
<!--<PublishAot>true</PublishAot>-->
13+
</PropertyGroup>
14+
15+
<PropertyGroup Condition="'$(Configuration)'=='Release'">
16+
<DebugSymbols>False</DebugSymbols>
17+
<DebugType>None</DebugType>
818
</PropertyGroup>
919

1020
<ItemGroup>

0 commit comments

Comments
 (0)