Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devhau/dotnet-bundle-mac
https://github.com/devhau/dotnet-bundle-mac
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devhau/dotnet-bundle-mac
- Owner: devhau
- License: mit
- Created: 2023-11-11T04:08:23.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-11T07:21:50.000Z (about 1 year ago)
- Last Synced: 2024-05-02T04:26:35.782Z (7 months ago)
- Language: C#
- Size: 61.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotnet-bundle-mac
Command-line interface tools for bundling .NET Core projects into MacOS applications (.app)
### Installation
Install MSBuild task via NuGet package: `MacBundle.DotNet`
[![NuGet](https://img.shields.io/nuget/v/MacBundle.DotNet.svg)](https://www.nuget.org/packages/MacBundle.DotNet/)
```
```
### Development
* `cd TestBundle`
* run `dotnet msbuild -t:BundleAppMac -p:RuntimeIdentifier=osx-x64`
* verify `Build/Debug/net5.0/osx-x64/publish` contents### Using the tool
```
dotnet msbuild -t:BundleAppMac -p:RuntimeIdentifier=osx-x64 [-p: ...]
```### Properties
Define properties to override default bundle values
```
AppName
App Name
com.example
1.0.0
APPL
????
AppName
AppName.icns
NSApplication
true
true
TestApp URL
testappurl;testappurl://
TestApp URL2
test://
```
More info: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html