Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: the config of syncthingtray could not be persist. #14349

Open
3 tasks done
uiolee opened this issue Nov 3, 2024 · 1 comment
Open
3 tasks done

[Bug]: the config of syncthingtray could not be persist. #14349

uiolee opened this issue Nov 3, 2024 · 1 comment
Labels

Comments

@uiolee
Copy link
Contributor

uiolee commented Nov 3, 2024

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

syncthingtray

Expected/Current Behaviour

syncthingtray.ini should be persisted in persist/syncthingtray

Steps to Reproduce

> scoop install syncthingtray
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'syncthingtray' (1.6.3) [64bit] from 'extras' bucket
Loading syncthingtray-1.6.3-x86_64-w64-mingw32.exe.zip from cache.
Checking hash of syncthingtray-1.6.3-x86_64-w64-mingw32.exe.zip ... ok.
Extracting syncthingtray-1.6.3-x86_64-w64-mingw32.exe.zip ... done.
Running pre_install script...done.
Linking D:\Scoop\apps\syncthingtray\current => D:\Scoop\apps\syncthingtray\1.6.3
Creating shim for 'syncthingtray-cli'.
Creating shortcut for Syncthing Tray (syncthingtray.exe)
Persisting syncthingtray.ini
'syncthingtray' (1.6.3) was installed successfully!

> ls scoop/apps/syncthingtray/current/syncthingtray.ini
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            24/11/03    14:46              0 syncthingtray.ini

> ls scoop/persist/syncthingtray/syncthingtray.ini
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            24/11/03    14:46              0 syncthingtray.ini

> # open syncthingtray and then exit it.

> ls scoop/apps/syncthingtray/current/syncthingtray.ini
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            24/11/03    14:57           4459 syncthingtray.ini

> ls scoop/persist/syncthingtray/syncthingtray.ini
Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a---            24/11/03    14:46              0 syncthingtray.ini

# noticed that the `syncthingtray.ini` file in `apps/` has changed, but the one in `persist/` has not.

Possible Solution

IDK

Scoop and Buckets Version

> scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
75cd77740 (HEAD -> master, origin/master, origin/HEAD) oxlint: Update to version 0.11.0

'extras' bucket:
27879b8a1 (HEAD -> master, upstream/master, upstream/HEAD) localsend: Update to version 1.16.0

Scoop Config

> scoop config

last_update  : 24/11/03 14:41:23
root_path    : D:\Scoop
scoop_repo   : https://github.com/ScoopInstaller/Scoop
scoop_branch : master
debug        : True

PowerShell Version

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.5
PSEdition                      Core
GitCommitId                    7.4.5
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@uiolee uiolee added the bug label Nov 3, 2024
@Daviteusz
Copy link
Contributor

Report this issue here:
https://github.com/Martchus/syncthingtray/issues

syncthingtray instead of updating the hard link file, deletes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants