mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-17 11:31:28 +03:00
Updated macOS Auto‐Start Service Setup (for Remote MDM Deployment) (markdown)
@@ -485,14 +485,19 @@ Edit the `DEFAULTPATH` variable at the top of the script:
|
|||||||
DEFAULTPATH='/Applications/MyCustomApp.app'
|
DEFAULTPATH='/Applications/MyCustomApp.app'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<img width="450" alt="image" src="https://github.com/user-attachments/assets/bd04eb3b-88b2-4d6f-92c1-4f769587b35c" />
|
||||||
|
|
||||||
|
`MyCustomApp.app` should be replaced with your actual application name followed by `.app`.
|
||||||
|
For example, using the settings above, the path would be `/Applications/Test2.app`.
|
||||||
|
|
||||||
Everything else (app name, plist labels, config paths) is auto-derived from this single path:
|
Everything else (app name, plist labels, config paths) is auto-derived from this single path:
|
||||||
|
|
||||||
| Item | Example (`DEFAULTPATH = /Applications/MyApp.app`) |
|
| Item | Example (`DEFAULTPATH = /Applications/MyApp.app`) |
|
||||||
|------|---------------------------------------------------|
|
|------|---------------------------------------------------|
|
||||||
| APP_NAME | `MyApp` |
|
| APP_NAME | `MyCustomApp` |
|
||||||
| Plist label | `com.carriez.MyApp_service` / `com.carriez.MyApp_server` |
|
| Plist label | `com.carriez.MyCustomApp_service` / `com.carriez.MyCustomApp_server` |
|
||||||
| Config dir | `~/Library/Preferences/com.carriez.MyApp/` |
|
| Config dir | `~/Library/Preferences/com.carriez.MyCustomApp/` |
|
||||||
| Config files | `MyApp.toml`, `MyApp2.toml` |
|
| Config files | `MyCustomApp.toml`, `MyCustomApp2.toml` |
|
||||||
|
|
||||||
> The app's bundle identifier (e.g., `com.mycompany.myapp`) does not affect these paths. RustDesk always uses `com.carriez.<APP_NAME>` internally.
|
> The app's bundle identifier (e.g., `com.mycompany.myapp`) does not affect these paths. RustDesk always uses `com.carriez.<APP_NAME>` internally.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user