mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-08 23:52:47 +02:00
Ship metainfo in deb, remove from Flatpak manifest
This commit is contained in:
@@ -29,7 +29,6 @@ jobs:
|
|||||||
- name: Copy updated files to Flathub repo
|
- name: Copy updated files to Flathub repo
|
||||||
run: |
|
run: |
|
||||||
cp flatpak/app.yaak.Yaak.yml flathub-repo/
|
cp flatpak/app.yaak.Yaak.yml flathub-repo/
|
||||||
cp flatpak/app.yaak.Yaak.metainfo.xml flathub-repo/
|
|
||||||
cp LICENSE flathub-repo/
|
cp LICENSE flathub-repo/
|
||||||
sed -i 's|path: \.\./LICENSE|path: LICENSE|' flathub-repo/app.yaak.Yaak.yml
|
sed -i 's|path: \.\./LICENSE|path: LICENSE|' flathub-repo/app.yaak.Yaak.yml
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
{
|
{
|
||||||
"build": {
|
"build": {
|
||||||
"features": [
|
"features": ["updater", "license"]
|
||||||
"updater",
|
|
||||||
"license"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"app": {
|
"app": {
|
||||||
"security": {
|
"security": {
|
||||||
@@ -11,12 +8,8 @@
|
|||||||
"default",
|
"default",
|
||||||
{
|
{
|
||||||
"identifier": "release",
|
"identifier": "release",
|
||||||
"windows": [
|
"windows": ["*"],
|
||||||
"*"
|
"permissions": ["yaak-license:default"]
|
||||||
],
|
|
||||||
"permissions": [
|
|
||||||
"yaak-license:default"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -39,14 +32,7 @@
|
|||||||
"createUpdaterArtifacts": true,
|
"createUpdaterArtifacts": true,
|
||||||
"longDescription": "A cross-platform desktop app for interacting with REST, GraphQL, and gRPC",
|
"longDescription": "A cross-platform desktop app for interacting with REST, GraphQL, and gRPC",
|
||||||
"shortDescription": "Play with APIs, intuitively",
|
"shortDescription": "Play with APIs, intuitively",
|
||||||
"targets": [
|
"targets": ["app", "appimage", "deb", "dmg", "nsis", "rpm"],
|
||||||
"app",
|
|
||||||
"appimage",
|
|
||||||
"deb",
|
|
||||||
"dmg",
|
|
||||||
"nsis",
|
|
||||||
"rpm"
|
|
||||||
],
|
|
||||||
"macOS": {
|
"macOS": {
|
||||||
"minimumSystemVersion": "13.0",
|
"minimumSystemVersion": "13.0",
|
||||||
"exceptionDomain": "",
|
"exceptionDomain": "",
|
||||||
@@ -58,10 +44,16 @@
|
|||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"deb": {
|
"deb": {
|
||||||
"desktopTemplate": "./template.desktop"
|
"desktopTemplate": "./template.desktop",
|
||||||
|
"files": {
|
||||||
|
"usr/share/metainfo/app.yaak.Yaak.metainfo.xml": "../../flatpak/app.yaak.Yaak.metainfo.xml"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"rpm": {
|
"rpm": {
|
||||||
"desktopTemplate": "./template.desktop"
|
"desktopTemplate": "./template.desktop",
|
||||||
|
"files": {
|
||||||
|
"usr/share/metainfo/app.yaak.Yaak.metainfo.xml": "../../flatpak/app.yaak.Yaak.metainfo.xml"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ modules:
|
|||||||
- mv usr/bin/* /app/bin
|
- mv usr/bin/* /app/bin
|
||||||
- mv usr/lib/* /app/lib
|
- mv usr/lib/* /app/lib
|
||||||
- mv usr/share/* /app/share
|
- mv usr/share/* /app/share
|
||||||
- install -Dm644 app.yaak.Yaak.metainfo.xml /app/share/metainfo/app.yaak.Yaak.metainfo.xml
|
|
||||||
- install -Dm644 LICENSE /app/share/licenses/app.yaak.Yaak/LICENSE
|
- install -Dm644 LICENSE /app/share/licenses/app.yaak.Yaak/LICENSE
|
||||||
|
|
||||||
sources:
|
sources:
|
||||||
@@ -58,7 +57,5 @@ modules:
|
|||||||
sha256: "9ba9b7c9df56ffb9b801e40cb38685f1650cf7e2f9e85dad0ae3329f8e01ff6d"
|
sha256: "9ba9b7c9df56ffb9b801e40cb38685f1650cf7e2f9e85dad0ae3329f8e01ff6d"
|
||||||
only-arches:
|
only-arches:
|
||||||
- aarch64
|
- aarch64
|
||||||
- type: file
|
|
||||||
path: app.yaak.Yaak.metainfo.xml
|
|
||||||
- type: file
|
- type: file
|
||||||
path: ../LICENSE
|
path: ../LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user