You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clone the Flathub repository from https://github.com/flathub/rocks.poopjournal.librelinkupdesktop
29
+
Clone or fork the Flathub repository from https://github.com/flathub/rocks.poopjournal.librelinkupdesktop.
30
30
31
31
2.**Update the Manifest:**
32
-
Modify the manifest file with the new tag and commit.
32
+
Modify the manifest file with the new tag and commit the changes.
33
33
34
-
3.**Build and Install:**
35
-
Execute `flatpak-builder --user --install --force-clean build rocks.poopjournal.librelinkupdesktop.yml` to build and install the application.
34
+
3.**Generate Generated Sources:**
35
+
To build locally, you may copy the generated sources from https://github.com/Crazy-Marvin/LibreLinkUpDesktop or regenerate a new file as described in the "Updating Node Modules" section.
36
36
37
-
4.**Run the Application:**
38
-
Launch the application using `flatpak run rocks.poopjournal.librelinkupdesktop`.
37
+
4.**Build and Install:**
38
+
Execute the command `flatpak-builder --user --install --force-clean build rocks.poopjournal.librelinkupdesktop.yml` to build and install the application.
39
39
40
-
5.**Finalize the Update:**
41
-
If the application runs successfully, commit and push the changes to the repository for the new release.
40
+
5.**Run the Application:**
41
+
Launch the application using the command `flatpak run rocks.poopjournal.librelinkupdesktop`.
42
+
43
+
6.**Finalize the Update:**
44
+
If the application runs successfully, commit and push the changes (`generated-sources.json` and `rocks.poopjournal.librelinkupdesktop.yml` files) to the repository. Then, create a pull request to the master branch for the new release.
42
45
43
46
## Updating Node Modules
44
47
45
-
If the node modules have been updated, follow these steps to update `generated-sources.json`.
48
+
If the node modules have been updated, follow these steps to update the `generated-sources.json` file.
46
49
47
50
### Prerequisites
48
-
-python 3.8
51
+
-Python 3.8
49
52
- pipx
50
53
- flatpak-node-generator
51
54
@@ -68,5 +71,10 @@ If the node modules have been updated, follow these steps to update `generated-s
68
71
3.**Generate Sources:**
69
72
Run `flatpak-node-generator npm package-lock.json` to generate the new sources.
70
73
71
-
4.**Update the Flathub Repository:**
72
-
Copy the updated `generated-sources.json` file to the Flathub repository.
74
+
4.**Test the Build Locally:**
75
+
Follow the guide above to test the build locally.
76
+
77
+
5.**Update the Repository:**
78
+
Commit the updated `generated-sources.json` file to the LibreLinkUpDesktop repository.
79
+
80
+
Note: Ensure the `generated-sources.json` file is present in both the Flathub repository and the upstream repository.
0 commit comments