nextcloud / recognize

👁 👂 Smart media tagging for Nextcloud: recognizes faces, objects, landscapes, music genres
https://apps.nextcloud.com/apps/recognize
GNU Affero General Public License v3.0
564 stars 45 forks source link

Update AdminController.php platform check #1125

Closed mr-bryn closed 7 months ago

mr-bryn commented 7 months ago

Updated platform() checking function to use PHP's in-built php_uname() function to return machine type (eg. x86_64).

This change was made to fix platform checking when installed under the NextCloud Snap envrionment (see #1120). This code works on my deployment - Recognize installed from web UI on NextCloud Snap, running within a Proxmox virtual machine. Unfortunately I don't have the time or resources to check under other installs/architectures.

marcelklehr commented 7 months ago

:blue_heart:

github-actions[bot] commented 7 months ago

Hello there, Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the reviewing process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR reviewing process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!