rsyncOSX / RsyncUI

A SwiftUI based macOS GUI for rsync.
https://github.com/rsyncOSX
MIT License
265 stars 9 forks source link

Fails when firstly opened "RsyncUI > Settings" #11

Closed sisungo closed 1 year ago

sisungo commented 1 year ago

Environment

$ uname -a
Darwin pworks-laptop.local 23.0.0 Darwin Kernel Version 23.0.0: Tue Jul 18 20:35:19 PDT 2023; root:xnu-10002.0.199.505.1~3/RELEASE_ARM64_T8103 arm64

macOS 14.0 Beta (23A5301h) on MacBook Air (M1 chip)

Steps

  1. Open RsyncUI (which is the "first-time")
  2. Select RsyncUI from the global menu, then press Settings

Expected behavior

Opens the settings panel

Actual behavior

An error dialog appears with title The file "configurations.json" couldn't be opened because there is no such file. and message The file doesn't exist.

rsyncOSX commented 1 year ago

The default error handling will throw an error message if a file is not found. Select the save button and the error will go away next time you open the settings panel. The save button writes all default settings to the settings file and the error will disappear..

rsyncOSX commented 1 year ago

To your info, the issue is fixed in next release, RsyncUI creates default files if not found and error is not issued