Skip to content

Commit e2c15ce

Browse files
authored
Merge pull request #38 from FaithBeam/do-not-bundle-dotnet
do not bundle dotnet +semver: minor
2 parents bbaba38 + 4c364b2 commit e2c15ce

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ jobs:
7171
dotnet publish ${{ env.PROJECT_FOLDER}}/${{ env.PROJECT_NAME }} \
7272
-c ${{ env.CONFIGURATION }} \
7373
-r ${{ matrix.rid }} \
74-
-p:PublishSingleFile=true \
75-
-p:IncludeNativeLibrariesForSelfExtract=true \
76-
-p:IncludeAllContentForSelfExtract=true \
77-
-p:SelfContained=true \
78-
-p:EnableCompressionInSingleFile=true \
79-
-p:DebugType=embedded \
8074
-p:Version=${{ steps.gitversion.outputs.SemVer }} \
8175
-p:AssemblyVersion=${{ steps.gitversion.outputs.AssemblySemFileVer }} \
8276
-o bin
@@ -87,7 +81,7 @@ jobs:
8781

8882
- name: Tar to Preserve Executable Bit
8983
if: ${{ startsWith(matrix.rid, 'osx') }}
90-
run: tar -C bin -cvf ${{ env.APP_NAME }}.${{ steps.gitversion.outputs.semVer }}+${{ matrix.rid }}.tar ${{ env.APP_NAME }}
84+
run: tar -cvf ${{ env.APP_NAME }}.${{ steps.gitversion.outputs.semVer }}+${{ matrix.rid }}.tar bin/
9185

9286
- name: Upload build artifacts
9387
if: ${{ startsWith(matrix.rid, 'osx') }}

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@ This is an attempt at a cross-platform clone of X-Mouse-Button-Control.
1111
2. Extract the archive
1212
3. Run YMouseButtonControl
1313

14+
## Requirements
15+
16+
* [.NET 8.0 Runtime](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
17+
* On windows if you run YMouseButtonControl.exe, it will take you to the download automatically
18+
19+
### Linux
20+
21+
*Ubuntu*: ```sudo apt install dotnet-runtime-8.0```
22+
23+
*Fedora*: ```sudo dnf install dotnet-runtime-8.0```
24+
25+
*Arch*: ```sudo pacman -S dotnet-runtime```
26+
1427
## OS Compatibility
1528

1629
Anything that can install .NET 8 should be able to run YMouseButtonControl
@@ -46,12 +59,6 @@ Anything that can install .NET 8 should be able to run YMouseButtonControl
4659
dotnet publish YMouseButtonControl/YMouseButtonControl.csproj \
4760
-c Release \
4861
-r YOUR_PLATFORM \
49-
--self-contained true \
50-
-p:PublishSingleFile=true \
51-
-p:DebugType=embedded \
52-
-p:IncludeNativeLibrariesForSelfExtract=true \
53-
-p:IncludeAllContentForSelfExtract=true \
54-
-p:EnableCompressionInSingleFile=true \
5562
-o bin
5663
```
5764
* YOUR_PLATFORM: win-x64, linux-x64, osx-x64, [more runtimes here](https://learn.microsoft.com/en-us/dotnet/core/rid-catalog)

0 commit comments

Comments
 (0)