Skip to content

Commit

Permalink
Add application icons (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
mepowerleo10 authored Feb 18, 2024
1 parent dddc70e commit 7b662a2
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 55 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ To get started with DocoLoco, follow these steps:

Run the following command to install the flatpak command:
```
flatpak-builder build-dir org.docoloco.DocoLoco.yaml --install --user --force-clean
flatpak-builder build-dir io.github.mepowerleo10.DocoLoco.yaml --install --user --force-clean
```
That's it! You can find the app in you apps menu now. Or run this command to open it from the command line:
```
flatpak run org.docoloco.DocoLoco.Devel
flatpak run io.github.mepowerleo10.DocoLoco.Devel
```

### Release Package Installation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ Version=1.0
Name=DocoLoco
Comment=Development Documentation Browser
Exec=
Terminal=false
Terminal=false
Icon=io.github.mepowerleo10.DocoLoco
Binary file added data/io.github.mepowerleo10.DocoLoco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
2 changes: 1 addition & 1 deletion docoloco/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import yaml
from gi.repository import GLib

APPLICATION_ID = "org.docoloco.DocoLoco"
APPLICATION_ID = "io.github.mepowerleo10.DocoLoco"


class Config:
Expand Down
2 changes: 1 addition & 1 deletion install-flatpak.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

flatpak-builder build-dir org.docoloco.DocoLoco.yaml --install --user --force-clean
flatpak-builder build-dir io.github.mepowerleo10.DocoLoco.yaml --install --user --force-clean
51 changes: 51 additions & 0 deletions io.github.mepowerleo10.DocoLoco.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
app-id: io.github.mepowerleo10.DocoLoco
runtime: org.gnome.Platform
runtime-version: "45"
tags:
- devel
- development
- nightly
sdk: org.gnome.Sdk
command: docoloco
build-options:
env:
- PYTHON=python3.11
build-args:
- --share=network
test-args:
- --socket=wayland
finish-args:
- --socket=fallback-x11
- --share=ipc
- --socket=wayland
- --share=network
- --device=dri
- --socket=session-bus
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfsd
- --filesystem=xdg-cache/DocoLoco:create
- --filesystem=xdg-data/Zeal:ro
- --filesystem=/usr/share/man:ro
modules:
# - name: mandoc
# sources:
# - type: archive
# url: https://mandoc.bsd.lv/snapshots/mandoc.tar.gz
# sha256: 8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c
- name: install
buildsystem: simple
build-commands:
- python --version
- pip3 install --prefix=${FLATPAK_DEST} docoloco-0-py3-none-any.whl
sources:
- type: file
path: dist/docoloco-0-py3-none-any.whl
- name: copy_data_dependencies
buildsystem: simple
build-commands:
- mkdir -p ${FLATPAK_DEST}/share/{applications,icons/hicolor/512x512/apps/}
- cp io.github.mepowerleo10.DocoLoco.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- cp io.github.mepowerleo10.DocoLoco.png ${FLATPAK_DEST}/share/icons/hicolor/512x512/apps/${FLATPAK_ID}.png
sources:
- type: dir
path: data
50 changes: 0 additions & 50 deletions org.docoloco.DocoLoco.yaml

This file was deleted.

0 comments on commit 7b662a2

Please sign in to comment.