Skip to content
Snippets Groups Projects
Commit badd4867 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

Flatpak: Add data migration to readme

parent a90c86db
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@ ### Nightly/master
flatpak install --user https://ftp.gajim.org/flatpak/appstream/org.gajim.Gajim.flatpakref
```
[Migrate your profile data](#migrate-your-data) if you like.
### Install plugins
To list available plugins, run
......@@ -31,13 +33,16 @@ ### Install plugins
```bash
flatpak install --user flathub org.gajim.Gajim.Plugin.omemo
```
or
```bash
flatpak install --user gajim-nightly org.gajim.Gajim.Plugin.omemo
```
respectively.
Note that **you need to restart Gajim** for Plugins to be enabled.
## Install from source
......@@ -45,7 +50,6 @@ ## Install from source
You need to have `flatpak` and `flatpak-builder` installed. For this example, we use `git` for downloading/updating Gajim's sources.
### Download Gajim's sources
In this example, we do a `git clone` of the repository, so you need to have `git` installed.
......@@ -58,7 +62,6 @@ ### Download Gajim's sources
*Note: Source tarballs and snapshots do _not_ include 'org.gajim.Gajim.yaml', which is necessary for installation via Flatpak.*
### Install Gajim and dependencies
Replace install path `~/Gajim/gajim_flatpak` with an install path of your choice.
......@@ -77,6 +80,7 @@ ### Install Gajim and dependencies
That's it, you are now running Gajim via Flatpak!
[Migrate your profile data](#migrate-your-data) if you like.
## How to update
......@@ -95,7 +99,6 @@ ### Remove previous Flatpak directory
rm -r ~/Gajim/gajim_flatpak
```
### Install and update Gajim
```bash
......@@ -105,3 +108,11 @@ ### Install and update Gajim
```
Gajim is now updated.
## Migrate your data
When switching to Flatpak you might want to migrate your user data (accounts, history, ...) from your previous installation. Just copy your user data from/to the following directories:
Copy `.local/share/gajim` -> `.var/app/org.gajim.Gajim/data/gajim`
Copy `.config/gajim` -> `.var/app/org.gajim.Gajim/config/gajim`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment