Skip to content

Commit

Permalink
add conf
Browse files Browse the repository at this point in the history
  • Loading branch information
TitleHHHH authored and TitleHHHH committed Oct 25, 2024
1 parent f98e304 commit 94355b5
Show file tree
Hide file tree
Showing 13 changed files with 461 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/devbuilds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Run pupnet
if: ${{ matrix.os == 'ubuntu-latest'}}
run: pupnet --runtime linux-64 --kind deb --app-version 4.0.0[1]
run: pupnet --runtime linux-64 --kind deb
Binary file added Deploy/HelloWorld.16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Deploy/HelloWorld.24x24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Deploy/HelloWorld.32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Deploy/HelloWorld.48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Deploy/HelloWorld.64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Deploy/HelloWorld.ico
Binary file not shown.
38 changes: 38 additions & 0 deletions Deploy/HelloWorld.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions Deploy/PostPublish.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@echo off
:: This is a dummy bat file used for demonstration and test. It outputs a few variables
:: and creates a dummy file in the application directory which will be detected by the program.

echo
echo ===========================
echo POST_PUBLISH BAT SCRIPT
echo ===========================
echo

:: Some useful macros / environment variables
echo BUILD_ARCH: %BUILD_ARCH%
echo BUILD_TARGET: %BUILD_TARGET%
echo BUILD_APP_BIN: %BUILD_APP_BIN%
echo

:: Directory and file will be detected by HelloWorld Program
echo Do work...
@echo on
mkdir "%BUILD_APP_BIN%/subdir"
copy NUL "%BUILD_APP_BIN%/subdir/file.test"
@echo off

echo
echo ===========================
echo POST_PUBLISH END
echo ===========================
echo
29 changes: 29 additions & 0 deletions Deploy/PostPublish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash
# This is a dummy bash script used for demonstration and test. It outputs a few variables
# and creates a dummy file in the application directory which will be detected by the program.

echo
echo "==========================="
echo "POST_PUBLISH BASH SCRIPT"
echo "==========================="
echo

# Some useful macros / environment variables
echo "BUILD_ARCH: ${BUILD_ARCH}"
echo "BUILD_TARGET: ${BUILD_TARGET}"
echo "BUILD_SHARE: ${BUILD_SHARE}"
echo "BUILD_APP_BIN: ${BUILD_APP_BIN}"
echo

# Directory and file will be detected by HelloWorld Program
echo "Do work..."
set -x #echo on
mkdir -p "${BUILD_APP_BIN}/subdir"
touch "${BUILD_APP_BIN}/subdir/file.test"
set +x #echo off

echo
echo "==========================="
echo "POST_PUBLISH END"
echo "==========================="
echo
13 changes: 13 additions & 0 deletions Deploy/app.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Type=Application
Name=${APP_FRIENDLY_NAME}
Icon=${APP_ID}
Comment=${APP_SHORT_SUMMARY}
Exec=${INSTALL_EXEC}
TryExec=${INSTALL_EXEC}
NoDisplay=${DESKTOP_NODISPLAY}
X-AppImage-Integrate=${DESKTOP_INTEGRATE}
Terminal=${DESKTOP_TERMINAL}
Categories=${PRIME_CATEGORY}
MimeType=
Keywords=
39 changes: 39 additions & 0 deletions Deploy/app.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<metadata_license>MIT</metadata_license>

<id>${APP_ID}</id>
<name>${APP_FRIENDLY_NAME}</name>
<summary>${APP_SHORT_SUMMARY}</summary>
<developer_name>${PUBLISHER_NAME}</developer_name>
<url type="homepage">${PUBLISHER_LINK_URL}</url>
<project_license>${APP_LICENSE_ID}</project_license>
<content_rating type="oars-1.1" />

<launchable type="desktop-id">${APP_ID}.desktop</launchable>

<description>
${APPSTREAM_DESCRIPTION_XML}
</description>

<!-- Freedesktop Categories -->
<categories>
<category>${PRIME_CATEGORY}</category>
</categories>

<keywords>
<keyword>development</keyword>
<keyword>programming</keyword>
</keywords>

<screenshots>
<screenshot type="default">
<image>https://i.postimg.cc/6pHch7br/Screenshot.png</image>
</screenshot>
</screenshots>

<releases>
${APPSTREAM_CHANGELOG_XML}
</releases>

</component>
Loading

0 comments on commit 94355b5

Please sign in to comment.