diff --git a/choco/rclone-ui.nuspec b/choco/rclone-ui.nuspec new file mode 100644 index 0000000..e9bf04b --- /dev/null +++ b/choco/rclone-ui.nuspec @@ -0,0 +1,40 @@ + + + + rclone-ui + 2.6.0 + Rclone UI + RcloneUI + RcloneUI + + https://github.com/rclone-ui/rclone-ui + https://github.com/rclone-ui/rclone-ui + https://github.com/rclone-ui/rclone-ui + https://github.com/rclone-ui/rclone-ui/issues + + https://github.com/rclone-ui/rclone-ui?tab=Apache-2.0-1-ov-file#readme/licenseUrl> + false + + GUI for Rclone. + +A light, transparent layer on top of rclone to manage your remotes & tasks in a more user-friendly way. + +Features; +- Works with your existing rclone installation (or can install rclone for you) and keeps it updated (with your approval) +- Add/Edit/Remove Remotes +- Sync, Copy, Move, Delete, Purge, Serve, Mount, etc +- Save time by setting default flags for each Remote separately, for each operation (Mount, Sync, Copy, etc) +- Customize the flags (parameters) when running an operation, on a case by case basis +- Embedded documentation for each flag, no need to google what everything does! +- File Browser +- Proxy +- Scheduled Tasks (cron) +- Job Logs (visualize all background operations) +- Start on boot (autostart) and Mount on start (automount) +- Set a password for the Settings panel +- Hide commands or Remotes from the tray menu +- Import/Export Configs (encrypted with pass or command) + + rclone rsync drive sync cloud storage + + diff --git a/choco/tools/chocolateyinstall.ps1 b/choco/tools/chocolateyinstall.ps1 new file mode 100644 index 0000000..3ddb519 --- /dev/null +++ b/choco/tools/chocolateyinstall.ps1 @@ -0,0 +1,28 @@ +$ErrorActionPreference = 'Stop' + +$packageName = 'rclone-ui' +$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition + +$url_x64 = 'URL_X64' +$sha_x64 = 'SHA256_x64' +$url_arm64 = 'URL_ARM64' +$sha_arm64 = 'SHA256_arm64' + +$silentArgs = '/S /AllUsers' + +$arch = (Get-CimInstance Win32_Processor | Select-Object -First 1 -ExpandProperty Architecture) +$isArm = $arch -eq 12 # 12 = ARM64, 9 = x64 +$url = $isArm ? $url_arm64 : $url_x64 +$sha = $isArm ? $sha_arm64 : $sha_x64 + +$packageArgs = @{ + packageName = $packageName + fileType = 'exe' + url64bit = $url + checksum64 = $sha + checksumType64 = 'sha256' + silentArgs = $silentArgs + validExitCodes = @(0) +} + +Install-ChocolateyPackage @packageArgs diff --git a/choco/tools/chocolateyuninstall.ps1 b/choco/tools/chocolateyuninstall.ps1 new file mode 100644 index 0000000..a3f5c3b --- /dev/null +++ b/choco/tools/chocolateyuninstall.ps1 @@ -0,0 +1,14 @@ +$ErrorActionPreference = 'Stop' + +$packageName = 'rclone-ui' +$displayName = 'Rclone UI*' + +$uninstKeys = Get-UninstallRegistryKey -SoftwareName $displayName +if (-not $uninstKeys -or $uninstKeys.Count -eq 0) { + Write-Warning "No uninstall entry found for $displayName" + return +} + +$uninstString = $uninstKeys[0].UninstallString + +Uninstall-ChocolateyPackage -PackageName $packageName -FileType 'exe' -SilentArgs '/S' -File $uninstString