Future AppImage support
This commit is contained in:
parent
2f1895c42d
commit
6f25ab9bb1
4 changed files with 34 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -5,8 +5,9 @@ CONFIGURATION = Release
|
|||
RUNTIME_LINUX = linux-x64
|
||||
RUNTIME_MAC = osx-x64
|
||||
OUTPUT_DIR = ./dist
|
||||
APPIMAGE_DIR = ./AppDir
|
||||
|
||||
.PHONY: all clean build-linux build-mac package-linux package-mac
|
||||
.PHONY: all clean build-linux build-mac build-appimage package-linux package-mac package-appimage
|
||||
|
||||
all: build-linux build-mac package-linux package-mac
|
||||
|
||||
|
@ -16,6 +17,9 @@ clean:
|
|||
build-linux:
|
||||
dotnet publish -c $(CONFIGURATION) -r $(RUNTIME_LINUX) --self-contained true /p:PublishSingleFile=true -o $(OUTPUT_DIR)/$(APP_NAME)-linux
|
||||
|
||||
build-appimage:
|
||||
dotnet publish -c $(CONFIGURATION) -r $(RUNTIME_LINUX) --self-contained true /p:PublishSingleFile=true -o $(APPIMAGE_DIR)/usr/bin
|
||||
|
||||
build-mac:
|
||||
dotnet publish -c $(CONFIGURATION) -r $(RUNTIME_MAC) --self-contained true /p:PublishSingleFile=true -o $(OUTPUT_DIR)/$(APP_NAME)-mac
|
||||
|
||||
|
@ -24,3 +28,6 @@ package-linux:
|
|||
|
||||
package-mac:
|
||||
tar -czvf $(OUTPUT_DIR)/$(APP_NAME)-mac.tar.gz -C $(OUTPUT_DIR)/$(APP_NAME)-mac .
|
||||
|
||||
package-appimage:
|
||||
appimage-builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue