Skip to content

Commit 7cb27dd

Browse files
committed
Changed initialization of folder name, knowing now that dotfiles are not supported by Save In... .
1 parent b5dd401 commit 7cb27dd

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Save In Companion/Settings.cs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class Settings
2323

2424
public string DownloadsFolderPath { get; set; }
2525

26-
public string SaveInLinksFolderName { get; set; }
26+
public string SaveInLinksFolderName { get; set; } = "SaveInLinks";
2727

2828
public string SaveInLinksFolderPath { get { return Path.Combine(DownloadsFolderPath, SaveInLinksFolderName); } }
2929

@@ -52,14 +52,6 @@ public class Settings
5252
private Settings()
5353
{
5454
DownloadsFolderPath = GetDefaultDownloadsFolder();
55-
if (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX)
56-
{
57-
SaveInLinksFolderName = ".SaveInLinks";
58-
}
59-
else
60-
{
61-
SaveInLinksFolderName = "SaveInLinks";
62-
}
6355
}
6456

6557
public void SaveSettings()

0 commit comments

Comments
 (0)