mfuentesg / SyncSettings

Sync Settings - The cross-platform solution to keep Sublime Text configuration synchronized
https://mfuentesg.dev/SyncSettings
MIT License
288 stars 38 forks source link

Problems with sync #183

Open earhax opened 3 years ago

earhax commented 3 years ago

I just set up ST3 on a new machine and am trying to sync the files in my packages\user folder like I've done with my other machines. However, it's not working properly. I just found files in C:\Users\.sync_settings\temp that correspond to the files in my gist. They should be downloading to the packages\user folder, but they are not. Also, the files are not downloading into folders that I have them in on my other machines, but contain the folder paths in the filenames. For example: "C:\Users\.sync_settings\temp\01_TextFileSync%2FNOTES.txt" "C:\Users\.sync_settings\temp\01_TextFileSync%2FPCStartup.bat" "C:\Users\.sync_settings\temp\01_TextFileSync%2FRegExInfo.re" "C:\Users\.sync_settings\temp\01_TextFileSync%2FspotifyStartup.bat" "C:\Users\.sync_settings\temp\01_TextFileSync%2Ftemp.txt" "C:\Users\.sync_settings\temp\01_TextFileSync%2FautoHotkeyScript.ahk"

mfuentesg commented 3 years ago

it happens because all files are being downloaded to "sync_settings/temp" folder, maybe a solution is create a subfolder something like .sync_settings/temp/<gist_id>/... in order to download files for a given gist id.

mfuentesg commented 3 years ago

Let me try to take a look to it

earhax commented 3 years ago

Is it the default behavior for Sync Settings to download from gist to this temp folder?

The actual path it downloaded to on this machine is C:\Users\.sync_settings\temp.

Please note that there is a . at the beginning of the sync_settings folder name.

As far as I can recall, with my other systems, when I upload or download a sync of my Sublime Text 3 settings, they upload from/download to the ST3 user folder (C:\Users\\AppData\Roaming\Sublime Text 3\Packages\User).

I wonder if this could be a case of incompatibility between macOS and Windows10?

I run ST3 on both systems and am trying to keep my ST3 settings and some other text files I keep in my user folder in sync between my home machine (running macOS Sierra 10.12.6) and my PC at work (running Windows 10).