|
| 1 | += OpenSource Drive - ODrive |
| 2 | +:uri-open-drive-home: https://liberodark.github.io/ODrive/ |
| 3 | + |
| 4 | +{uri-open-drive-home}[OpenSource Drive - ODrive^] is a Google Drive GUI for Windows / Mac / Linux. |
| 5 | + |
| 6 | +== Build, Install and Run Flatpak (locally) |
| 7 | + |
| 8 | +Assuming `flatpak`, `flatpak-builder`, and `git` packages are installed, run the following commands: |
| 9 | + |
| 10 | +[source,shell] |
| 11 | +---- |
| 12 | +$ git clone https://github.com/flathub/io.github.liberodark.OpenDrive.git |
| 13 | +$ cd io.github.liberodark.OpenDrive/ |
| 14 | +$ flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo |
| 15 | +$ flatpak-builder build --force-clean --install-deps-from=flathub --install --user io.github.liberodark.OpenDrive.json |
| 16 | +
|
| 17 | +# ...to uninstall the artifact |
| 18 | +$ flatpak uninstall --delete-data --user io.github.liberodark.OpenDrive |
| 19 | +
|
| 20 | +# ...and to clean-up everything |
| 21 | +$ flatpak uninstall --unused --user |
| 22 | +$ rm -rf .flatpak-builder/ build/ |
| 23 | +$ flatpak remote-delete --user flathub |
| 24 | +---- |
| 25 | + |
| 26 | +// git submodule foreach git pull origin master |
| 27 | +// git submodule update --init --recursive |
| 28 | + |
| 29 | +== Update Flatpak |
| 30 | + |
| 31 | +1. Make sure `git@2.21.0`, `yarn@1.16.0`, and `python@3.7.x` packages are installed |
| 32 | +1. Open `bootstrap.sh` and change/update the `TAG` variable accordingly |
| 33 | +1. Run `bootstrap.sh` |
| 34 | +1. Commit and push the updated `generated-sources.json` and `yarn.lock` files |
| 35 | +1. Update manifest and AppStream metadata accordingly |
| 36 | + |
| 37 | +[TIP] |
| 38 | +`flatpak-builder-tools/` and `open-drive/` directories can be removed at this point. |
| 39 | + |
| 40 | +== Roadmap |
| 41 | +:uri-issues-tracker: https://github.com/flathub/io.github.liberodark.OpenDrive/issues/ |
| 42 | + |
| 43 | +See the {uri-issues-tracker}[Issues^] tracker. |
0 commit comments