Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
13c70ba
fix naming error
frequency403 Mar 24, 2026
01162ec
fix icon name
frequency403 Mar 24, 2026
fe3ef20
Fix startup error when files are not readable. (#18)
frequency403 Mar 24, 2026
b3e8a9c
remove warnings as error in csproj
frequency403 Mar 24, 2026
bbbe8ea
remove warnings as error in csproj
frequency403 Mar 24, 2026
f536d95
Merge branch 'master' into development
frequency403 Mar 24, 2026
e4807aa
Merge branch 'development' into release/v3.0.1
frequency403 Mar 24, 2026
d99e92f
Fix and Optimize Configuration, SSH Key Handling, and UI (#21)
frequency403 Jun 9, 2026
8ee5e98
Introduce new workflows: auto-tag refinement, unit tests, build-and-p…
frequency403 Jun 9, 2026
5fbbd39
Bump version to 3.1.0, improve PKGBUILD formatting, and fix SSH key f…
frequency403 Jun 9, 2026
cdff101
Add `build-and-package.yml` and `test.yml` workflows; refine asset pr…
frequency403 Jun 9, 2026
1431a2d
Refactor workflows: streamline asset preparation, reorganize director…
frequency403 Jun 9, 2026
638c3b8
Update `staging.yml`: adjust dependencies for `deploy-aur-nightly` an…
frequency403 Jun 9, 2026
d7f6b4b
Refactor GitHub Actions workflows: improve artifact handling and enha…
frequency403 Jun 9, 2026
ec44535
Update `staging.yml`: add `build` dependency for `deploy-aur-nightly`…
frequency403 Jun 9, 2026
08afa89
Revamp README: overhaul content structure, include new features, upda…
frequency403 Jun 9, 2026
f9f6e48
Bump version to 3.1.1; update PKGBUILD, normalize version logic in wo…
frequency403 Jun 9, 2026
107d24e
Merge branch 'master' into release/v3.1.1
frequency403 Jun 9, 2026
4a91f0a
Bump version to 3.1.2; update PKGBUILD, enhance version normalization…
frequency403 Jun 10, 2026
2ba45d1
Merge branch 'master' into release/v3.1.2
frequency403 Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/build-and-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,19 @@ jobs:
restore-keys: |
${{ runner.os }}-dotnet-

- name: Normalize version
id: version
- name: Normalize version and build args
id: build-meta
run: |
VERSION="${{ inputs.version }}"
VERSION="${VERSION#v}"
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"

EXTRA_ARGS=""
if [[ "${{ inputs.is_nightly }}" == "true" ]]; then
EXTRA_ARGS="-p:IsNightly=true"
fi
echo "EXTRA_ARGS=$EXTRA_ARGS" >> "$GITHUB_OUTPUT"

- name: Publish application
run: |
dotnet publish OpenSSH_GUI/OpenSSH_GUI.csproj \
Expand All @@ -68,8 +74,8 @@ jobs:
-p:PublishSingleFile=true \
-p:PublishReadyToRun=true \
-p:IncludeNativeLibrariesForSelfExtract=true \
-p:Version="${{ steps.version.outputs.VERSION }}" \
${{ inputs.is_nightly && '-p:IsNightly=true' || '' }}
-p:Version="${{ steps.build-meta.outputs.VERSION }}" \
${{ steps.build-meta.outputs.EXTRA_ARGS }}

- name: Rename artifact
id: rename
Expand All @@ -85,11 +91,9 @@ jobs:
run: |
sudo apt-get update && sudo apt-get install -y librsvg2-bin

# Download appimagetool
wget -q https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod +x appimagetool

# Create AppDir structure
mkdir -p AppDir/usr/bin
mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps
mkdir -p AppDir/usr/share/icons/hicolor/scalable/apps
Expand All @@ -99,35 +103,31 @@ jobs:
cp "./publish/${{ steps.rename.outputs.ASSET_NAME }}" AppDir/usr/bin/openssh-gui
chmod +x AppDir/usr/bin/openssh-gui

# Convert SVG to PNG for AppImage icon
# Use rsvg-convert to create a high-quality PNG icon
rsvg-convert -w 256 -h 256 images/openssh-gui.svg -o AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png
cp images/openssh-gui.svg AppDir/usr/share/icons/hicolor/scalable/apps/openssh-gui.svg
cp AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png AppDir/openssh-gui.png
cp AppDir/usr/share/icons/hicolor/256x256/apps/openssh-gui.png AppDir/appicon.png

cp appimage/io.github.frequency403.openssh_gui.metainfo.xml AppDir/usr/share/metainfo/io.github.frequency403.openssh_gui.metainfo.xml

# Use ~ for nightly versions in appstream metadata
APPSTREAM_VERSION="${{ inputs.version }}"

APPSTREAM_VERSION="${{ steps.build-meta.outputs.VERSION }}"
if [[ "${{ inputs.is_nightly }}" == "true" ]]; then
APPSTREAM_VERSION="${APPSTREAM_VERSION//+/~}"
fi

sed -i "s|<release version=\"0.0.0\" date=\"1970-01-01\"/>|<release version=\"${APPSTREAM_VERSION}\" date=\"$(date +%Y-%m-%d)\"/>|" \
AppDir/usr/share/metainfo/io.github.frequency403.openssh_gui.metainfo.xml

appstreamcli make-desktop-file \
AppDir/usr/share/metainfo/io.github.frequency403.openssh_gui.metainfo.xml \
AppDir/usr/share/applications/io.github.frequency403.openssh_gui.desktop

cp AppDir/usr/share/applications/io.github.frequency403.openssh_gui.desktop \
AppDir/io.github.frequency403.openssh_gui.desktop

cp appimage/AppRun AppDir/AppRun
chmod +x AppDir/AppRun

# Build AppImage
APPIMAGE_NAME="${{ inputs.asset_name_prefix }}-x86_64.AppImage"
ARCH=x86_64 ./appimagetool --appimage-extract-and-run AppDir "$APPIMAGE_NAME"
echo "APPIMAGE_NAME=$APPIMAGE_NAME" >> "$GITHUB_OUTPUT"
Expand Down Expand Up @@ -157,4 +157,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ steps.rename.outputs.ASSET_NAME }}
path: ./publish/${{ steps.rename.outputs.ASSET_NAME }}
path: ./publish/${{ steps.rename.outputs.ASSET_NAME }}
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<LangVersion>default</LangVersion>
<PackageProjectUrl>https://github.com/frequency403/OpenSSH-GUI</PackageProjectUrl>
<BaseVersion>3.1.1</BaseVersion>
<BaseVersion>3.1.2</BaseVersion>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion openssh-gui-bin/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname=openssh-gui-bin
pkgver=3.1.1
pkgver=3.1.2
pkgrel=1
pkgdesc="A GUI for OpenSSH configuration and management (Binary version)"
arch=('x86_64')
Expand Down
Loading