Skip to content

Commit

Permalink
Update for v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kuiperzone committed Mar 26, 2023
1 parent 6732e68 commit 961e1c0
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
+ Version 1.0.1; 2023-03-26
- Programs now asks for key-press only on Windows
- Set version correctly

+ Version 1.0.0; 2023-03-22
- Initial release
- Reports version as "3.2.1". This was intentional at the time by way of demonstration.
2 changes: 1 addition & 1 deletion HelloWorld.pupnet.conf
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ AppId = zone.kuiper.helloworld
# brackets to denote package release, i.e. '1.2.3[1]'. Release refers to a change to the deployment
# package, rather the application. If release part is absent (i.e. '1.2.3'), the release value defaults
# to '1'. Note that the version-release value given here may be overridden from the command line.
AppVersionRelease = 3.2.1[5]
AppVersionRelease = 1.0.1[1]

# Mandatory single line application description.
AppShortSummary = A Hello World application
Expand Down
13 changes: 9 additions & 4 deletions HelloWorld/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;

namespace HelloWorld
{
Expand Down Expand Up @@ -66,10 +67,14 @@ static void Main(string[] args)
Console.WriteLine("pupnet was NOT called with: --property DefineConstants=CUSTOM_FLAG");
#endif

Console.WriteLine();
Console.WriteLine();
Console.WriteLine("Press any key to finish");
Console.ReadKey(false);
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Console.WriteLine();
Console.WriteLine();
Console.WriteLine("Press any key to finish");
Console.ReadKey(false);
}

Console.WriteLine();
}

Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ In this case, the Hello World program will output the following when built, inst
CUSTOM_FLAG defined OK
pupnet was called with: --property DefineConstants=CUSTOM_FLAG;

The application runs in the terminal so, with AppImage, run the program from the command-line rather than
double-clicking from a file manager to see the output.

See the [PupNet Deploy Project](https://github.com/kuiperzone/PupNet-Deploy) for complete instructions and information.

**PupNet Deploy** was created by Andy Thomas at [https://kuiper.zone](https://kuiper.zone).
Expand Down

0 comments on commit 961e1c0

Please sign in to comment.