-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters