Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nytuo committed Jan 16, 2024
1 parent 41b6d49 commit 8cbc288
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
8 changes: 5 additions & 3 deletions chocolatey/cosmic-comics.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@
<authors>BEUX Arnaud (Nytuo)</authors>
<projectUrl>https://github.com/Nytuo/CosmicComics</projectUrl>
<iconUrl>https://pocket.nytuo.fr/api/files/gpmjfgb6ve1gr0u/coxm84pd6nvqn4y/logo_cc_iNZpB7U096.png?token=</iconUrl>
<copyright>2024</copyright>
<copyright>2024 Arnaud BEUX</copyright>
<licenseUrl>https://www.gnu.org/licenses/gpl-3.0.fr.html</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<projectSourceUrl>https://github.com/Nytuo/CosmicComics</projectSourceUrl>
<docsUrl>https://github.com/Nytuo/CosmicComics/wiki</docsUrl>
<tags>cosmic-comics, comics, comic, manga, reading, reader, e-reader, books, Cosmic Comics</tags>
<tags>cosmic-comics comics comic manga reading reader e-reader books Cosmic-Comics</tags>
<summary>Cosmic Comics is a Comics and Mangas reader and collectionner.</summary>
<description>The information about the series and books are provided by some API or manually set. This is all you can do with this software and more:

Expand All @@ -26,6 +25,9 @@ Zoom, Auto Background Color, Double page Mode, Blank first page, No double page
Display information about Comics/ Manga
Libraries information provided by APIs (Marvel API, Google Books API, Anilist,...)
Continue reading where you stopped and more...</description>
<releaseNotes>
You can found what have changed between version by going to : https://github.com/Nytuo/CosmicComics/releases and look for the Changelog.
</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
27 changes: 27 additions & 0 deletions flatpak/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# How to do reminder
> [!WARNING]
> This should be done in Linux
Install flatpak and flatpak-builder
Also needed : Python and pipx (python-pipx on arch)

clone this : ```https://github.com/flatpak/flatpak-builder-tools/tree/master/node```

Do ```pipx install .```

Install
```flatpak install flathub org.electronjs.Electron2.BaseApp//23.08``` and
```flatpak install flathub org.freedesktop.Sdk.Extension.node18//23.08```

In the root dir run : ```npm i --package-lock-only```
then ```(python3) flatpak-node-generator(.py) npm package-lock.json```
The python3 and .py may are not needed depending on the install method.

This generate a 'generated-sources.json' that you need to move to the flatpak folder

Now run
```flatpak-builder build fr.nytuo.cosmiccomics.yml --install --force-clean --user```

And finally to run, debug and test :

```flatpak run fr.nytuo.cosmiccomics```
4 changes: 2 additions & 2 deletions flatpak/fr.nytuo.cosmiccomics.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
app-id: fr.nytuo.cosmiccomics
runtime: org.freedesktop.Platform
runtime-version: "22.08"
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: "22.08"
base-version: "23.08"
sdk-extensions:
- org.freedesktop.Sdk.Extension.node18
command: run.sh
Expand Down

0 comments on commit 8cbc288

Please sign in to comment.