Skip to content

Commit

Permalink
Tweaks v1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
kuiper committed Mar 18, 2024
1 parent c1c1e62 commit f9bb38c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
+ VERSION 1.8.0; 2024-03-18
- Built with .NET8
- Added -j,--project command line argument.
- Added SetupGroupName configuration parameter.
- Now detects the $DOTNET_HOST_PATH environment variable and uses it if defined.
- Updated documentation concerning NETSDK1194. #27
- Updated default FlatpakPlatformVersion to latest 23.08 at time of writing.
Expand Down
23 changes: 12 additions & 11 deletions PupNet.pupnet.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PUPNET DEPLOY: 1.7.1
# PUPNET DEPLOY: 1.8.0
# Use: 'pupnet --help conf' for information.

# APP PREAMBLE
Expand All @@ -10,19 +10,19 @@ AppShortSummary = Cross-platform deployment utility which packages your .NET pro
AppDescription = """
PupNet Deploy is a cross-platform deployment utility which packages your .NET project as a ready-to-ship
installation file in a single step.

It has been possible to cross-compile console C# applications for sometime now. More recently, the cross-platform
Avalonia replacement for WPF allows fully-featured GUI applications to target a range of platforms, including:
Linux, Windows, MacOS and Android.

Now, PupNet Deploy allows you to ship your dotnet application as:
* AppImage for Linux
* Setup File for Windows
* Flatpak
* Debian Binary Package
* RPM Binary Package
* Plain old Zip

PupNet has good support for internationalization, desktop icons, publisher metadata and custom build operations.
Although developed for .NET, it is also possible to use it to deploy C++ and other kinds of applications.
"""
Expand All @@ -40,7 +40,7 @@ PublisherEmail = [email protected]
# DESKTOP INTEGRATION
DesktopNoDisplay = true
DesktopTerminal = true
DesktopFile =
DesktopFile =
StartCommand = pupnet
PrimeCategory = Development
MetaFile = Deploy/PupNet.metainfo.xml
Expand All @@ -59,15 +59,15 @@ IconFiles = """
# DOTNET PUBLISH
DotnetProjectPath = PupNet
DotnetPublishArgs = -p:Version=${APP_VERSION} --self-contained true -p:PublishReadyToRun=true -p:DebugType=None -p:DebugSymbols=false
DotnetPostPublish =
DotnetPostPublishOnWindows =
DotnetPostPublish =
DotnetPostPublishOnWindows =

# PACKAGE OUTPUT
PackageName = PupNet-Deploy
OutputDirectory = Deploy/OUT

# APPIMAGE OPTIONS
AppImageArgs =
AppImageArgs =
AppImageVersionOutput = true

# FLATPAK OPTIONS
Expand All @@ -80,7 +80,7 @@ FlatpakFinishArgs = """
--filesystem=host
--share=network
"""
FlatpakBuilderArgs =
FlatpakBuilderArgs =

# RPM OPTIONS
RpmAutoReq = false
Expand All @@ -106,9 +106,10 @@ DebianRecommends = """
"""

# WINDOWS SETUP OPTIONS
SetupGroupName =
SetupAdminInstall = false
SetupCommandPrompt = PupNet Console
SetupMinWindowsVersion = 10
SetupSignTool =
SetupSuffixOutput =
SetupSignTool =
SetupSuffixOutput =
SetupVersionOutput = true
2 changes: 1 addition & 1 deletion PupNet/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ internal class Program
/// <summary>
/// Gets the program product name.
/// </summary>
public const string Copyright = "Copyright © Andy Thomas 2022-23";
public const string Copyright = "Copyright © Andy Thomas 2022-24";

/// <summary>
/// Gets the project URL.
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dotnet pack -c Release -o ./Deploy/OUT -p:Version=1.7.1
dotnet pack -c Release -o ./Deploy/OUT -p:Version=1.8.0
pupnet -r linux-x64 -k deb -y
pupnet -r linux-x64 -k rpm -y
pupnet -r linux-x64 -k appimage -y
Expand Down

0 comments on commit f9bb38c

Please sign in to comment.