Skip to content

Commit

Permalink
Upd: Flathub app ID from org.opencomic.app to app.opencomic.OpenComic
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm committed Oct 7, 2024
1 parent 40c1b22 commit 6dfa3ca
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Name=OpenComic
Exec=/app/bin/run.sh %U
Terminal=false
Type=Application
Icon=org.opencomic.app
Icon=app.opencomic.OpenComic
StartupWMClass=OpenComic
Comment=Comic and manga reader
MimeType=application/x-cbz;application/x-cbr;application/x-cb7;application/x-cbt;application/pdf;application/x-bzpdf;application/x-gzpdf;application/epub+zip;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.opencomic.app</id>
<launchable type="desktop-id">org.opencomic.app.desktop</launchable>
<id>app.opencomic.OpenComic</id>
<launchable type="desktop-id">app.opencomic.OpenComic.desktop</launchable>
<name>OpenComic</name>
<summary>Comic and Manga reader</summary>
<metadata_license>CC0-1.0</metadata_license>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
app-id: org.opencomic.app
app-id: app.opencomic.OpenComic
runtime: org.freedesktop.Platform
runtime-version: '22.08'
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '22.08'
base-version: '24.08'
command: run.sh
separate-locales: false
finish-args:
- --device=dri
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --device=dri
- --share=network
- --share=ipc
- --filesystem=host
modules:
- name: opencomic
- name: OpenComic
buildsystem: simple
build-commands:
- mkdir -p /app/main/
- cp -r * /app/main/
- install -D 16x16.png --target-directory=/app/share/icons/hicolor/16x16/apps/org.opencomic.app.png
- install -D 32x32.png --target-directory=/app/share/icons/hicolor/32x32/apps/org.opencomic.app.png
- install -D 48x48.png --target-directory=/app/share/icons/hicolor/48x48/apps/org.opencomic.app.png
- install -D 64x64.png --target-directory=/app/share/icons/hicolor/64x64/apps/org.opencomic.app.png
- install -D 128x128.png --target-directory=/app/share/icons/hicolor/128x128/apps/org.opencomic.app.png
- install -D 256x256.png --target-directory=/app/share/icons/hicolor/256x256/apps/org.opencomic.app.png
- install -D org.opencomic.app.metainfo.xml --target-directory=/app/share/metainfo/
- install -D org.opencomic.app.desktop --target-directory=/app/share/applications/
- install -D 16x16.png --target-directory=/app/share/icons/hicolor/16x16/apps/app.opencomic.OpenComic.png
- install -D 32x32.png --target-directory=/app/share/icons/hicolor/32x32/apps/app.opencomic.OpenComic.png
- install -D 48x48.png --target-directory=/app/share/icons/hicolor/48x48/apps/app.opencomic.OpenComic.png
- install -D 64x64.png --target-directory=/app/share/icons/hicolor/64x64/apps/app.opencomic.OpenComic.png
- install -D 128x128.png --target-directory=/app/share/icons/hicolor/128x128/apps/app.opencomic.OpenComic.png
- install -D 256x256.png --target-directory=/app/share/icons/hicolor/256x256/apps/app.opencomic.OpenComic.png
- install -D app.opencomic.OpenComic.metainfo.xml --target-directory=/app/share/metainfo/
- install -D app.opencomic.OpenComic.desktop --target-directory=/app/share/applications/
- install -D run.sh --target-directory=/app/bin/
sources:
- type: archive
Expand All @@ -39,9 +40,9 @@ modules:
only-arches:
- aarch64
- type: file
path: org.opencomic.app.desktop
path: app.opencomic.OpenComic.desktop
- type: file
path: org.opencomic.app.metainfo.xml
path: app.opencomic.OpenComic.metainfo.xml
- type: file
path: 16x16.png
- type: file
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@
],
"icon": "images/icon-mac.icns",
"category": "public.app-category.graphics-design",
"provisioningProfile": "build/OpenComic_Provisioning_Profile_2023_11.provisionprofile",
"provisioningProfile": "build/OpenComic_Provisioning_Profile_2024_10.provisionprofile",
"minimumSystemVersion": "10.15.0"
},
"mas": {
"type": "distribution",
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.inherit.plist",
"provisioningProfile": "build/OpenComic_Provisioning_Profile_2023_11.provisionprofile"
"provisioningProfile": "build/OpenComic_Provisioning_Profile_2024_10.provisionprofile"
},
"linux": {
"target": [
Expand Down Expand Up @@ -241,10 +241,10 @@
},
"flatpak": {
"runtime": "org.freedesktop.Platform",
"runtimeVersion": "22.08",
"runtimeVersion": "24.08",
"sdk": "org.freedesktop.Sdk",
"base": "org.electronjs.Electron2.BaseApp",
"baseVersion": "22.08"
"baseVersion": "24.08"
},
"fileAssociations": [
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var readingPagesConfig = {
},
readingViewSpeed: 0.3,
readingViewAdjustToWidth: false,
readingNotEnlargeMoreThanOriginalSize: false,
readingNotEnlargeMoreThanOriginalSize: true,
readingRotateHorizontals: false,
readingMargin: {
margin: 16,
Expand Down

0 comments on commit 6dfa3ca

Please sign in to comment.