File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ public class MainWindowViewModel : ViewModel
2323 private static readonly int BACKUP_RATE = 15 * 60 * 1000 ;
2424 private static readonly int NUM_BACKUPS = 10 ;
2525
26- private static string SETTINGS_PATH = Path . Combine ( AppDomain . CurrentDomain . BaseDirectory , "ds3backup.settings" ) ;
26+ private static string SETTINGS_DIR = Path . Combine ( Environment . GetFolderPath ( Environment . SpecialFolder . ApplicationData ) , "DS3Backup" ) ;
27+ private static string SETTINGS_PATH = Path . Combine ( SETTINGS_DIR , "ds3backup.settings" ) ;
2728 private static readonly string SAVES_PATH = Path . Combine ( Environment . GetFolderPath ( Environment . SpecialFolder . ApplicationData ) , "DarkSoulsIII" ) ;
2829
2930 #region Commands
@@ -199,6 +200,9 @@ private void RemoveLocation()
199200
200201 private void SaveSettings ( )
201202 {
203+ if ( ! Directory . Exists ( SETTINGS_DIR ) )
204+ Directory . CreateDirectory ( SETTINGS_DIR ) ;
205+
202206 File . WriteAllText ( SETTINGS_PATH , XmlHelper . ToXML ( BackupLocations . ToList ( ) ) ) ;
203207 }
204208
Original file line number Diff line number Diff line change 5151// You can specify all the values or you can default the Build and Revision Numbers
5252// by using the '*' as shown below:
5353// [assembly: AssemblyVersion("1.0.*")]
54- [ assembly: AssemblyVersion ( "1.0.1604.63 " ) ]
55- [ assembly: AssemblyFileVersion ( "1.0.1604.63 " ) ]
54+ [ assembly: AssemblyVersion ( "1.0.1605.03 " ) ]
55+ [ assembly: AssemblyFileVersion ( "1.0.1605.03 " ) ]
Original file line number Diff line number Diff line change 241241 {
242242 "Name" = "8:Microsoft Visual Studio"
243243 "ProductName" = "8:DS3 Backup"
244- "ProductCode" = "8:{D146EF2F-0F13-4CA2-BF31-926E7D628731 }"
245- "PackageCode" = "8:{8FE46F07-03A4-456C-BA67-24C86AADA942 }"
244+ "ProductCode" = "8:{61953B37-BEC4-4D6D-B91F-8C53C881173B }"
245+ "PackageCode" = "8:{4976047D-346E-4EF4-9A25-118CA47BB5B0 }"
246246 "UpgradeCode" = "8:{0DF59207-9F3C-4589-8D12-8C8FF3A36C78}"
247247 "AspNetVersion" = "8:4.0.30319.0"
248248 "RestartWWWService" = "11:FALSE"
249249 "RemovePreviousVersions" = "11:TRUE"
250250 "DetectNewerInstalledVersion" = "11:TRUE"
251251 "InstallAllUsers" = "11:FALSE"
252- "ProductVersion" = "8:1.0.6 "
252+ "ProductVersion" = "8:1.0.8 "
253253 "Manufacturer" = "8:ScottyDoesKnow"
254254 "ARPHELPTELEPHONE" = "8:"
255255 "ARPHELPLINK" = "8:"
You can’t perform that action at this time.
0 commit comments