Skip to content

Commit 0932dbc

Browse files
committed
Add OCC_UPDATE_URL to the README.
Signed-off-by: Camila Ayres <[email protected]>
1 parent dda418e commit 0932dbc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ If the default `config.php` doesn't hold update information for this OEM, the co
6969

7070
1. Create the json file in `config/` with the name of the OEM that contains the same entries as the `config.php`, e.g. `nextcloudev.json`.
7171
2. To test this update server locally use `composer start`, which then will run the server on localhost port 1234.
72-
3. Alternativately, you can directly execute: `php -S 0.0.0.0:1234 -t .`
72+
3. Alternativately, you can directly execute: `php -S 0.0.0.0:1234 -t .`.
7373
4. To generate debug logs while developing:
7474
- Create a `php.ini` in the root folder with the following content:
7575
```
@@ -80,14 +80,14 @@ If the default `config.php` doesn't hold update information for this OEM, the co
8080
8181
### Desktop client
8282
83-
- For all platforms:
84-
- Enable `BUILD_UPDATER`
85-
- Set `APPLICATION_UPDATE_URL` with `http://0.0.0.0:1234`.
83+
- For all platforms, with cmake:
84+
- Enable `BUILD_UPDATER`.
85+
- Set `APPLICATION_UPDATE_URL` with `http://0.0.0.0:1234` or the following environment variable when running the client: `export OCC_UPDATE_URL="http://0.0.0.0:1234"`.
8686
- On mac OS:
87-
- Build the app bundle with the updater enabled and codesigned using [mac-crafter](https://github.com/nextcloud/desktop/tree/master/admin/osx/mac-crafter).
87+
- Build the app bundle and codesign it using [mac-crafter](https://github.com/nextcloud/desktop/tree/master/admin/osx/mac-crafter).
8888
- Alternativately, with cmake:
89-
- Enable `BUILD_OWNCLOUD_OSX_BUNDLE`
90-
- Set `SPARKLE_LIBRARY`
89+
- Enable `BUILD_OWNCLOUD_OSX_BUNDLE`.
90+
- Set `SPARKLE_LIBRARY`.
9191
- `codesign` the `Sparkle.framework` and the app bundle.
9292
9393
## Deployment

0 commit comments

Comments
 (0)