change app directory

This commit is contained in:
2023-07-19 21:01:19 +08:00
parent 8b759c94ec
commit 02ac33fc07
56 changed files with 781 additions and 535 deletions

View File

@@ -0,0 +1,19 @@
using SQLite;
namespace Blahblah.FlowerApp.Data;
public sealed class Constants
{
public const string CategoryOther = "other";
public const string EventUnknown = "unknown";
public const string BaseUrl = "https://flower.tsanie.org";
public const SQLiteOpenFlags SQLiteFlags =
SQLiteOpenFlags.ReadWrite |
SQLiteOpenFlags.Create |
SQLiteOpenFlags.SharedCache;
private const string dbFilename = "flowerstory.db3";
public static string DatabasePath => Path.Combine(FileSystem.AppDataDirectory, dbFilename);
}