From f236f227ee6c7bded3653b043dbc5c3729ff96ee Mon Sep 17 00:00:00 2001 From: Tareq Imbasher Date: Tue, 2 Apr 2024 06:13:34 +0200 Subject: [PATCH] Release version to 0.7.0 --- README.md | 14 ++++++-------- scripts/package-electron.sh | 2 +- src/Apps/NetPad.Apps.App/NetPad.Apps.App.csproj | 6 +++--- src/Apps/NetPad.Apps.App/electron.manifest.js | 14 +++++++++++++- 4 files changed, 23 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 0faee715..e4e3daf2 100644 --- a/README.md +++ b/README.md @@ -85,9 +85,10 @@ See the [Troubleshooting](https://github.com/tareqimbasher/NetPad/wiki/Troublesh * Manage namespaces * Standard code editor features powered by Monaco editor * Auto-open unsaved scripts from previous session on launch -* Dump complex objects to the results console and export results to Excel or HTML +* Dump complex objects to the results console +* Export results to Excel or HTML * Choose the .NET SDK version you want to use per script -* Add and use database connections +* Add database connections and query them with LINQ * Run SQL queries * Add NuGet packages * Reference assemblies from disk @@ -120,10 +121,6 @@ See the [Troubleshooting](https://github.com/tareqimbasher/NetPad/wiki/Troublesh * Export a script as a C# project * Ability to run a script from the command-line * Git tracking of script changes -* More advanced `Dump()` capabilities: - * Dump HTML controls and interact with them - * Dump images, SVGs, and bitmaps - * Dump code with syntax highlighting * Quality of Life: * User-defined results styling * Workspaces/Sessions @@ -238,9 +235,10 @@ electronize build /target custom "osx-arm64;mac" /electron-arch arm64 /manifest Packaged files can be found in the `bin/Desktop` folder. -###### Note +###### Notes -> Alternatively, on Linux, the `/scripts/package-electron.sh` script can be used +> 1. To build flatpak files the `flatpak` and `flatpak-builder` packages need to be installed. +> 2. On Linux, the `/scripts/package-electron.sh` script can be used > to package the Electron app, in which case packaged files can be found in > the `/dist/` folder. diff --git a/scripts/package-electron.sh b/scripts/package-electron.sh index 2298d585..bfd49700 100755 --- a/scripts/package-electron.sh +++ b/scripts/package-electron.sh @@ -110,7 +110,7 @@ package() { continue fi - if [[ $filename != *.exe* ]] && [[ $filename != *.zip ]] && [[ $filename != *.pacman ]] && [[ $filename != *.AppImage ]] && [[ $filename != *.deb ]] && [[ $filename != *.rpm ]]; then + if [[ $filename != *.exe* ]] && [[ $filename != *.zip ]] && [[ $filename != *.pacman ]] && [[ $filename != *.AppImage ]] && [[ $filename != *.deb ]] && [[ $filename != *.rpm ]] && [[ $filename != *.flatpak ]] && [[ $filename != *.snap ]]; then continue fi diff --git a/src/Apps/NetPad.Apps.App/NetPad.Apps.App.csproj b/src/Apps/NetPad.Apps.App/NetPad.Apps.App.csproj index 9b4444ef..e9dd76c5 100644 --- a/src/Apps/NetPad.Apps.App/NetPad.Apps.App.csproj +++ b/src/Apps/NetPad.Apps.App/NetPad.Apps.App.csproj @@ -11,9 +11,9 @@ Linux NetPad enable - 0.6.1 - 0.6.1 - 0.6.1 + 0.7.0 + 0.7.0 + 0.7.0 11 diff --git a/src/Apps/NetPad.Apps.App/electron.manifest.js b/src/Apps/NetPad.Apps.App/electron.manifest.js index fa46ff4b..38c3cd19 100644 --- a/src/Apps/NetPad.Apps.App/electron.manifest.js +++ b/src/Apps/NetPad.Apps.App/electron.manifest.js @@ -6,7 +6,7 @@ const electronBuilderConfig = { appId: "com.netpad.app", productName: "NetPad", copyright: "Copyright © 2020 Tareq Imbasher", - buildVersion: "0.6.1", + buildVersion: "0.7.0", compression: "maximum", directories: { output: "../../../bin/Desktop" @@ -49,6 +49,12 @@ const electronBuilderConfig = { { target: "rpm", }, + { + target: "flatpak", + }, + { + target: "snap", + }, { target: "zip", }, @@ -90,6 +96,12 @@ const electronBuilderConfig = { rpm: { artifactName: "${name}-${version}-${os}-${arch}.${ext}", }, + flatpak: { + artifactName: "${name}-${version}-${os}-${arch}.${ext}", + }, + snap: { + artifactName: "${name}-${version}-${os}-${arch}.${ext}", + }, nsis: { artifactName: "${name}-${version}-${os}-${arch}.${ext}", oneClick: false,