fix: fixed behaviour of bundled app for decrypt and ai chat
This commit is contained in:
@@ -3,7 +3,9 @@ import Config
|
||||
if config_env() == :prod do
|
||||
database_path =
|
||||
System.get_env("BDS_DATABASE_PATH") ||
|
||||
Path.expand("../priv/data/bds_prod.db", __DIR__)
|
||||
Path.expand("~/Library/Application Support/BDS2/bds.db")
|
||||
|
||||
File.mkdir_p!(Path.dirname(database_path))
|
||||
|
||||
config :bds, BDS.Repo,
|
||||
database: database_path,
|
||||
|
||||
Reference in New Issue
Block a user