Open jhass opened 8 years ago
Those links should do it: https://docs.nextcloud.com/server/10/admin_manual/configuration_mimetypes/mimetype_aliases.html?highlight=mimetype https://docs.nextcloud.com/server/10/admin_manual/configuration_mimetypes/mimetype_mapping.html?highlight=mimetype
But for me it did not work :(
I tried: resources/config/mimetypemapping.dist.json
{
"kdbx": ["application/msaccess"]
}
Well, for the app I would something automatic anyway, the admin having to configure it is too much trouble IMO.
I would expect this could be done by the installer.
At least thats what the (outdated) GPX Viewer extended sais: https://apps.owncloud.com/content/show.php/GPX+Viewer+extended?content=168505
BTW, this is the command in the nextcloud root folder I had to run after editing:
> php occ maintenance:mimetype:update-js
mimetypelist.js is updated
Also according to https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/occ_command.html#maintenance-commands-label there are some othe rcommands, but none seemed to make it to work :(
> php occ maintenance:mimetype:update-db
> php occ maintenance:mimetype:update-db --repair-filecache
Well send a pull request to the server to just have the icon (and maybe the mimetype) all the time?
The icon should be an inverted app icon, as with GpxPod, not another (ugly) artwork.
We assign a custom mimetype for kdbx files, it got to be possible to set a custom symbol for those then from within the app. Somehow.