Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mbugni/onedriveguiflatpak


https://github.com/mbugni/onedriveguiflatpak

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        


OneDriveGUI Icon

# OneDriveGUI on Flatpak
 

This project contains files to build [OneDriveGUI](https://github.com/bpozdena/OneDriveGUI) as a Flatpak app.

### Disclaimer

This project is a prototype for [helping the author](https://github.com/bpozdena/OneDriveGUI/issues/22) to create a Flatpak app.

## How to build the app

### 1 - Prepare the environment
Ensure you have the following commands installed on your system:
- `git`
- `flatpak`
- `flatpak-builder`

Ensure you have the `flathub` repo enabled:
```shell
$ flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
```

Clone this project on your computer:
```shell
$ git clone https://github.com/mbugni/OneDriveGUIFlatpak.git
```

### 2 - Build and install the app
From the project directory run the command:
```shell
$ flatpak-builder --user --verbose --install --install-deps-from=flathub --force-clean \
build io.github.bpozdena.OneDriveGUI.yaml
```

See [flatpak documentation](https://docs.flatpak.org/) for more info.

The first build can take 5 minutes, it depends on your machine performances. It install the app, making it available for your user in the system.

*NOTE:* if you want to install the app system wide, remove the `--user` option and prepend `sudo` in the above commands.

### 3 - Run the app
You can run the OneDriveGUI launching it from your favorite desktop, or manually by using the `flatpak` command:
```shell
$ flatpak run io.github.bpozdena.OneDriveGUI
```

## OneDriveGUI files
Data files are in folder `~/.var/app/io.github.bpozdena.OneDriveGUI/data`.
Config files are in folder `~/.var/app/io.github.bpozdena.OneDriveGUI/config`.