Commit c19de68c authored by Gregor Longariva's avatar Gregor Longariva 💬
Browse files

Merge branch '18-networksharemounter-mountpfad' into 'dev'

Resolve "networkShareMounter Mountpfad"

Closes #18

See merge request faumac/networkShareMounter!27
parents 8d25f48e b44c8333
......@@ -23,16 +23,17 @@ For an easier configuration of all the preference keys without creating or modif
| Key | Type | Description | Default Value | Aviable in version | Required? | Example |
| :------------------ | :---- | :---------------------|:-------------------------------------- | --------------------------------- | ------- | ---- |
| `networkShares` | Array | array with all network shares. For example configured through a MDM | - | all | - |`smb://filer.your.domain/share`<br />`smb://homefiler.your.domain/%USERNAME%`|
| `customNetworkShares` | Array | array with all user configured network shares | - | all | optional |`smb://myhomefiler.my.domain/share`|
| `autostart` | Boolean | if set, the app will be launched on user-login | false | v2 | optional ||
| `canQuit` | Boolean | if set, the user can quit the app | true | v2 | optional ||
| `canChangeAutostart` | Boolean | if set to false, the user can not change the Autostart option | true | v2 | optional ||
| `unmountOnExit` | Boolean | if set to false the shares will be mounted after quitting the app | true | v2 | optional ||
| `location` | String | This is the path under which the shares will be mounte | - | v2 | optional | `/Volumes` |
| `cleanupLocationDirectory` | Boolean | if set to true the mount location will be cleaned up from obstructing files and directories. Use with caution! | false | v2 | - | `false` |
| `helpURL` | String | configure a help URL to help users interact with the application | - | v2 | optional |https://www.anleitungen.rrze.fau.de/betriebssysteme/apple-macos-und-ios/macos/#networksharemounter|
| `networkShares` | Array | Array with all (SMB) network shares. For example configured through a MDM. Note: %USERNAME% will be replaced with the current user's login name.| - | all | - |`smb://filer.your.domain/share`<br />`smb://homefiler.your.domain/%USERNAME%`|
| `customNetworkShares` | Array | Array with all user configured (SMB) network shares. It's not recommend to set this array via MDM | - | all | optional |`smb://myhomefiler.my.domain/share`|
| `autostart` | Boolean | If set, the app will be launched on user-login | false | v2 | optional ||
| `canQuit` | Boolean | If set, the user can quit the app | true | v2 | optional ||
| `canChangeAutostart` | Boolean | If set to false, the user can not change the Autostart option | true | v2 | optional ||
| `unmountOnExit` | Boolean | If set to false the shares will be mounted after quitting the app | true | v2 | optional ||
| `location` | String | Path where network shares will be mounted. Leave blank for the default value (highly recommended) | - | v2 | optional | `/Volumes` |
| `cleanupLocationDirectory` | Boolean | If set to true, the mount location will be cleaned up from obstructing files and directories. Use with caution if the location directory is not the default!| false | v2 | - | `false` |
| `helpURL` | String | Configure a help URL to help users interact with the application | - | v2 | optional |https://www.anleitungen.rrze.fau.de/betriebssysteme/apple-macos-und-ios/macos/#networksharemounter|
#### Important note for `location` and `cleanupLocationDirectory` values
If `location` is left empty (or is not defined), a directory is created in a subdirectory of the user's home where the network drives will be mounted. Since this directory always contains only mounted network shares, there is a routine that cleans up this directory and deletes unnecessary files and directories.
If another directory is used to mount the network drives (like `location` set to, for example, `/Volumes`) **it is strongly recommended** to disable the cleanup routine by setting `cleanupLocationDirectory` to `false`.
......
{
"$schema": "http://json-schema.org/schema#",
"title": "Network Share Mounter (de.fau.rrze.NetworkShareMounter)",
"description": "Jamf Manifest for Network Share Mounter v2",
"__version": "1.0",
"description": "Jamf Manifest for Network Share Mounter v2.",
"__version": "1.1",
"__feedback": "rrze-mac@fau.de",
"type": "object",
"options": {
"remove_empty_properties": true
},
"links": [{
"rel": "More information",
"href": "https://gitlab.rrze.fau.de/faumac/networkShareMounter"
}
],
"properties": {
"networkShares": {
"title": "Network shares",
"description": "Add shares to mount (example: smb://filer.your.domain/share)",
"description": "Array with all network shares. Example: smb://filer.your.domain/share. Note: %USERNAME% will be replaced with the current user's login name.",
"type": "array",
"items": {
"type": "string",
"pattern": "^smb:\\/\\/\\S*$",
"title": "Share"
}
},
"location": {
"title": "Mount path",
"description": "Path where network shares will be mounted. Leave blank for the default value (highly recommended)",
"links": [{
"rel": "More information",
"href": "https://gitlab.rrze.fau.de/faumac/networkShareMounter#important-note-for-location-and-cleanuplocationdirectory-values"
}
],
"type": "string",
"default": ""
},
"cleanupLocationDirectory": {
"title": "Clean up obstructing files and directories",
"links": [{
"rel": "More information",
"href": "https://gitlab.rrze.fau.de/faumac/networkShareMounter#important-note-for-location-and-cleanuplocationdirectory-values"
}
],
"description": "if set to true, the mount location will be cleaned up from obstructing files and directories. Use with caution!",
"type": "boolean",
"default": false
},
"autostart": {
"title": "Enable autostart",
"description": "If set to true, the app will be launched on user-login",
"type": "boolean",
"default": "false"
"default": false
},
"canQuit": {
"title": "Show Exit",
"description": "Show exit button in the menu bar",
"type": "boolean",
"default": "true"
"default": true
},
"canChangeAutostart": {
"title": "Allow autostart changes",
"description": "Allow users to change the autostart settings",
"type": "boolean",
"default": "true"
"default": true
},
"unmountOnExit": {
"title": "Unmount shares on exit",
"description": "Unmount shares if the app get closed",
"type": "boolean",
"default": "true"
"default": true
},
"helpURL": {
"title": "Help URL",
"description": "Configure a help URL to help users interact with the application",
"pattern": "^http[s]?:\\/\\/\\S*$",
"type": "string",
"default": ""
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment