template rady

This commit is contained in:
Page Asgardius 2024-01-18 08:52:53 -07:00
parent e26f09084e
commit 38121a8b87
10 changed files with 28 additions and 25 deletions

View file

@ -1,8 +1,6 @@
# asteroid-game-launcher # aoi-game-launcher
<img src=https://git.asgardius.company/asgardius/asteroid-game-launcher/raw/branch/master/data/asgardius.page.asteroidlauncher.png> A launcher for an anime role playing game game
A launcher for a space themed game
# Dependencies # Dependencies
@ -16,8 +14,13 @@ A launcher for a space themed game
# Install instructions # Install instructions
To build this app To build this app
meson . _build meson . _build
To install To install
sudo ninja -C _build install sudo ninja -C _build install
To uninstall To uninstall
sudo ninja -C _build uninstall sudo ninja -C _build uninstall

View file

@ -1,15 +1,15 @@
{ {
"app-id": "asgardius.page.asteroidlauncher", "app-id": "asgardius.page.aoilauncher",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "45", "runtime-version": "45",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",
"command": "asteroid-game-launcher", "command": "aoi-game-launcher",
"finish-args": [ "finish-args": [
"--socket=wayland" "--socket=wayland"
], ],
"modules": [ "modules": [
{ {
"name": "asteroid-game-launcher", "name": "aoi-game-launcher",
"buildsystem": "meson", "buildsystem": "meson",
"builddir": true, "builddir": true,
"sources": [ "sources": [

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Aoi Game Launcher
Icon=asgardius.page.aoilauncher
Exec=aoi-game-launcher
Terminal=false
Type=Application
Categories=
StartupNotify=false

View file

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View file

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

View file

@ -1,8 +0,0 @@
[Desktop Entry]
Name=Asteroid Game Launcher
Icon=asgardius.page.asteroidlauncher
Exec=asteroid-game-launcher
Terminal=false
Type=Application
Categories=
StartupNotify=false

View file

@ -1,10 +1,10 @@
configure_file( configure_file(
input: 'asgardius.page.asteroidlauncher.desktop', input: 'asgardius.page.aoilauncher.desktop',
output: 'asgardius.page.asteroidlauncher.desktop', output: 'asgardius.page.aoilauncher.desktop',
copy: true, copy: true,
install: true, install: true,
install_dir: join_paths(get_option('datadir'), 'applications') install_dir: join_paths(get_option('datadir'), 'applications')
) )
install_data('asgardius.page.asteroidlauncher.png', install_data('asgardius.page.aoilauncher.png',
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps')) install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps'))

View file

@ -1,4 +1,4 @@
project('asteroid-game-launcher', project('aoi-game-launcher',
version: '0.0.0', version: '0.0.0',
meson_version: '>= 0.48.0', meson_version: '>= 0.48.0',
) )

View file

@ -16,19 +16,19 @@ import os
class Application(Gtk.Application): class Application(Gtk.Application):
def __init__(self): def __init__(self):
super().__init__(application_id='asgardius.page.asteroidlauncher') super().__init__(application_id='asgardius.page.aoilauncher')
GLib.set_application_name('Asteroid Game Launcher') GLib.set_application_name('Aoi Game Launcher')
GLib.set_prgname('asgardius.page.asteroidlauncher') GLib.set_prgname('asgardius.page.aoilauncher')
def do_activate(self): def do_activate(self):
window = Gtk.ApplicationWindow(application=self) window = Gtk.ApplicationWindow(application=self)
window.set_icon_name('asgardius.page.asteroidlauncher') window.set_icon_name('asgardius.page.aoilauncher')
hbox = Gtk.VBox(spacing=6) hbox = Gtk.VBox(spacing=6)
window.add(hbox) window.add(hbox)
label = Gtk.Label() label = Gtk.Label()
label.set_markup('<span font="12">Broadcasting with 100000 power watts\nfrom the asteroid belt</span>') label.set_markup('<span font="12">Do you want a healer?\nNow you have one</span>')
hbox.pack_start(label, True, True, 0) hbox.pack_start(label, True, True, 0)
button = Gtk.Button.new_with_label("Install / Update") button = Gtk.Button.new_with_label("Install / Update")

View file

@ -1,6 +1,6 @@
configure_file( configure_file(
input: 'main.py', input: 'main.py',
output: 'asteroid-game-launcher', output: 'aoi-game-launcher',
copy: true, copy: true,
install: true, install: true,
install_dir: get_option('bindir') install_dir: get_option('bindir')