Skip to content

Commit

Permalink
add flathub .desktop file
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelmota committed May 14, 2018
1 parent 7beea7d commit 1eafc9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions flathub/com.github.miguelmota.Cointop.desktop
@@ -0,0 +1,5 @@
[Desktop Entry]
Name=Cointop
Exec=com.github.miguelmota.Cointop

This comment has been minimized.

Copy link
@TingPing

TingPing May 14, 2018

Contributor

Your binary name is cointop?

Type=Application
Icon=com.github.miguelmota.Cointop

This comment has been minimized.

Copy link
@TingPing

TingPing May 14, 2018

Contributor

Terminal=true

This comment has been minimized.

Copy link
@miguelmota

miguelmota May 14, 2018

Author Member

added

12 changes: 8 additions & 4 deletions flathub/com.github.miguelmota.Cointop.json
Expand Up @@ -43,15 +43,19 @@
"build-commands": [
"cp -rpv go/* /app/go/",
"/app/bin/scripts/build.sh github.com/miguelmota/cointop",
"ls /app/go/src/github.com/miguelmota/cointop",
"install -D /app/go/src/github.com/miguelmota/cointop/x /app/bin/cointop"
"install -D /app/go/src/github.com/miguelmota/cointop/x /app/bin/cointop",
"mkdir -p /app/share/icons/hicolor/64x64/apps",
"mkdir -p /app/share/icons/hicolor/128x128/apps",
"mkdir -p /app/share/applications",
"cp /app/go/src/github.com/miguelmota/cointop/assets/icon_64x64.png /app/share/icons/hicolor/64x64/apps/com.github.miguelmota.Cointop.png",
"cp /app/go/src/github.com/miguelmota/cointop/assets/icon_128x128.png /app/share/icons/hicolor/128x128/apps/com.github.miguelmota.Cointop.png",
"cp /app/go/src/github.com/miguelmota/cointop/flathub/com.github.miguelmota.Cointop.desktop /app/share/applications/com.github.miguelmota.Cointop.desktop"
],
"sources": [
{
"type": "git",
"only-arches": ["x86_64", "i386"],
"url": "https://github.com/miguelmota/cointop.git",
"commit": "ab90056cf7ff5ac0134c9ac4dc2e38c120f41142",
"commit": "7beea7d97b66c13432f16f93757c58e75e472496",
"dest": "go/src/github.com/miguelmota/cointop"
}
]
Expand Down
3 changes: 0 additions & 3 deletions flathub/flathub.json

This file was deleted.

0 comments on commit 1eafc9d

Please sign in to comment.