Replace all placeholder template values with actual PMCalc names

This commit is contained in:
2025-04-28 12:23:03 +02:00
parent 2e93b3e2f3
commit 773d00b335
11 changed files with 82 additions and 82 deletions

View File

Before

Width:  |  Height:  |  Size: 574 B

After

Width:  |  Height:  |  Size: 574 B

View File

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 175 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,11 +0,0 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Adwaita Template
Comment=A template for creating GNOME apps with Swift
Categories=Development;GNOME;
Icon=io.github.AparokshaUI.AdwaitaTemplate
Exec=AdwaitaTemplate
Terminal=false

View File

@@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Poor Man's Calculator
Comment=Simple Calculator written using Adwaita for Swift
Categories=Development;GNOME;
Icon=me.thealgorithm476.PMCalc.PMCalc
Exec=PMCalc
Terminal=false

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.AparokshaUI.AdwaitaTemplate</id>
<id>me.thealgorithm476.PMCalc.PMCalc</id>
<name>Adwaita Template</name>
<summary>A template for creating GNOME apps with Swift</summary>
<name>Poor Man's Calculator</name>
<summary>Simple Calculator written using Adwaita for Swift</summary>
<metadata_license>MIT</metadata_license>
<project_license>LGPL-3.0-or-later</project_license>
@@ -16,10 +16,10 @@
<description>
<p>
This is a <em>long</em> description of this project. Yes - that is required!
Calculator written in Adwaita for Swift, using a custom Math library written in C.
</p>
</description>
<launchable type="desktop-id">io.github.AparokshaUI.AdwaitaTemplate.desktop</launchable>
<launchable type="desktop-id">me.thealgorithm476.PMCalc.PMCalc.desktop</launchable>
</component>

View File

@@ -1,12 +1,12 @@
{
"app-id": "io.github.AparokshaUI.AdwaitaTemplate",
"app-id": "me.thealgorithm476.PMCalc.PMCalc",
"runtime": "org.gnome.Platform",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.swift5"
],
"command": "AdwaitaTemplate",
"command": "PMCalc",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
@@ -30,7 +30,7 @@
],
"modules": [
{
"name": "AdwaitaTemplate",
"name": "PMCalc",
"builddir": true,
"buildsystem": "simple",
"sources": [
@@ -42,12 +42,12 @@
"build-commands": [
"./setup-offline.sh",
"swift build -c release --static-swift-stdlib --skip-update",
"strip .build/release/AdwaitaTemplate",
"install -Dm755 .build/release/AdwaitaTemplate /app/bin/AdwaitaTemplate",
"install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml $DESTDIR/app/share/metainfo/io.github.AparokshaUI.AdwaitaTemplate.metainfo.xml",
"install -Dm644 data/io.github.AparokshaUI.AdwaitaTemplate.desktop $DESTDIR/app/share/applications/io.github.AparokshaUI.AdwaitaTemplate.desktop",
"install -Dm644 data/icons/io.github.AparokshaUI.AdwaitaTemplate.svg $DESTDIR/app/share/icons/hicolor/scalable/apps/io.github.AparokshaUI.AdwaitaTemplate.svg",
"install -Dm644 data/icons/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg $DESTDIR/app/share/icons/hicolor/symbolic/apps/io.github.AparokshaUI.AdwaitaTemplate-symbolic.svg"
"strip .build/release/PMCalc",
"install -Dm755 .build/release/PMCalc /app/bin/PMCalc",
"install -Dm644 data/me.thealgorithm476.PMCalc.PMCalc.metainfo.xml $DESTDIR/app/share/metainfo/me.thealgorithm476.PMCalc.PMCalc.metainfo.xml",
"install -Dm644 data/me.thealgorithm476.PMCalc.PMCalc.desktop $DESTDIR/app/share/applications/me.thealgorithm476.PMCalc.PMCalc.desktop",
"install -Dm644 data/icons/me.thealgorithm476.PMCalc.PMCalc.svg $DESTDIR/app/share/icons/hicolor/scalable/apps/me.thealgorithm476.PMCalc.PMCalc.svg",
"install -Dm644 data/icons/me.thealgorithm476.PMCalc.PMCalc-symbolic.svg $DESTDIR/app/share/icons/hicolor/symbolic/apps/me.thealgorithm476.PMCalc.PMCalc-symbolic.svg"
]
}
]