卸载

可以使用你的操作系统内置工具安全地卸载文件桌面客户端。

一般说明

在每个操作系统中:

  1. 在卸载之前,请确保*已退出桌面客户端*。

  2. *卸载*桌面客户端。

  3. You may also need to take into consideration that uninstalling the desktop client will not remove the user's configuration file and synced data.

    对于数据删除(同步文件夹),考虑使用服务器功能 remote wipe。此功能在所有客户端均可使用。

以下是特定平台的说明。

Windows

有两种方式可以卸载桌面客户端:

  1. 使用 添加/删除程序

  2. 你可以使用 msiexec 命令行选项:

msiexec /uninstall Nextcloud-x.y.z-x64.msi /quiet``
  1. The user's configuration is located at %APPDATA%\Nextcloud\nextcloud.cfg.

macOS

除了从 应用程序 文件夹中删除桌面客户端之外,您还可能需要删除所有相关数据,尤其是如果您使用的是虚拟文件时。

  1. 要简单地卸载软件:您可以从 Launchpad 或 Finder 执行此操作。

  2. 要完全删除所有相关数据,可以使用以下命令:

rm -rf "$HOME/Library/Application Scripts/com.nextcloud.desktopclient"*
rm -f  "$HOME/Library/Application Support/CrashReporter/Nextcloud_"*
rm -rf "$HOME/Library/Application Support/Nextcloud"
rm -rf "$HOME/Library/Caches/Nextcloud"
rm -rf "$HOME/Library/Containers/com.nextcloud.desktopclient"*
rm -rf "$HOME/Library/Group Containers/NKUJUXUJ3B.com.nextcloud.desktopclient"
rm -rf "$HOME/Library/Group Containers/com.nextcloud.desktopclient"
rm -f  "$HOME/Library/LaunchAgents/com.nextcloud.desktopclient.plist"
rm -rf "$HOME/Library/Preferences/Nextcloud"
rm -f  "$HOME/Library/Preferences/com.nextcloud.desktopclient.plist"
  1. From version 33.0.0 the user's configuration is located at $HOME/Library/Containers/com.nextcloud.desktopclient/Data/Library/Preferences/Nextcloud/nextcloud.cfg. On older versions it is located at $HOME/Library/Preferences/Nextcloud/nextcloud.cfg.

Linux

这取决于你是如何安装桌面客户端的:

  1. 如果你正在运行 Nextcloud AppImage,你可以简单地删除 AppImage 文件。

  2. 如果你使用包管理器安装了桌面客户端,你也可以使用它来卸载桌面客户端。例如,在 Ubuntu 上你可以使用以下命令:

sudo apt remove nextcloud-desktop
  1. The user's configuration is located at $HOME/.config/Nextcloud/nextcloud.cfg.