|
1 | 1 | Jiotty Photos Uploader is a simple desktop Google Photos media uploader that creates albums according to your directory structure and can resume failed uploads.
|
2 |
| -See [Wiki](https://github.com/ylexus/jiotty-photos-uploader/wiki) for more information. |
| 2 | +See [Wiki](https://github.com/ylexus/jiotty-photos-uploader/wiki) for more information, including how to download and install. |
3 | 3 |
|
4 |
| -To build from sources and run locally: |
| 4 | +For enthusiasts, to build or run from sources: |
5 | 5 |
|
6 |
| -1. Install JDK 14 |
7 |
| -2. run `./gradlew -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json run` |
| 6 | +1. Install JDK |
| 7 | + 1. for a desktop, use any JDK version 14 or higher. |
| 8 | + 2. for a Raspberry Pi, use Liberica OpenJDK (because it contains RPi-compatible javafx). Go to https://bell-sw.com/pages/downloads/, select latest version, |
| 9 | + 32-bit, Linux, package: Full JDK, and install via `.deb`. |
| 10 | +2. Clone this repository. |
| 11 | +3. `cd jiotty-photos-uploader` |
8 | 12 |
|
9 |
| -If build the native binary for the current platform from sources: |
| 13 | +Then, to compile and run locally: |
10 | 14 |
|
11 |
| -1. Install JDK 14 |
12 |
| -2. Run the following, replacing `0.0.0` with the version you want: |
| 15 | +1. on a desktop: `./gradlew --no-daemon -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json run` |
| 16 | +2. on Raspberry Pi: `./gradlew --no-daemon -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json -PraspberryPi run` |
| 17 | + |
| 18 | +Or to build the self-contained native binary and installer for the current platform: |
| 19 | + |
| 20 | +1. Run the following, replacing `0.0.0` with the version you want: |
13 | 21 | 1. on a desktop: `./gradlew --no-daemon -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json fullPackage -DVERSION=0.0.0`
|
14 |
| - 2. on Raspberry Pi: |
15 |
| - `./gradlew --no-daemon -PraspberryPi -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json fullPackage -DVERSION=0.0.0` |
| 22 | + 2. on Raspberry Pi: `./gradlew --no-daemon -PraspberryPi -DCLIENT_SECRET_PATH=/path/to/google-API-client-secret.json fullPackage -DVERSION=0.0.0` |
16 | 23 | 3. look for the executable bundle in `app/build/jpackage` and for the installer in `app/build/fullpackage`
|
| 24 | + |
| 25 | +Note: if doing repeated builds, to improve build speed, replace `--no-daemon` with `--build-cache`, but only if you understand what you're doing and are |
| 26 | +prepared to maintain gradle cache and daemons. |
0 commit comments