frappe / books

Free Accounting Software
https://frappe.io/books
GNU Affero General Public License v3.0
2.89k stars 670 forks source link

🐛 [Bug] - "create demo" action should prefer the "~/Frappe Books" dir by default #985

Closed kskarthik closed 1 hour ago

kskarthik commented 2 hours ago

Expected Behavior

As i was packaging the app for flatpak, I noticed that "create demo" actions invokes a file picker for the user to choose a path for for the new db while create company uses the ~/Frappe Books automatically.

This behavior creates challenges with sandboxing the app. Please consider setting the ~/Frappe Books for the demo company too.

image

Current Behavior

prompts the user to choose a dir to save the db

Steps to Reproduce

  1. Launch app
  2. click on create demo
  3. file picker opens at user's ~/

FrappeBooks Version

0.23.0

Path or Feature name

company setup wizard

Country

N/A

Language

N/A

OS

Linux x86_64

Additional OS Info

No response

kskarthik commented 2 hours ago

Related to #206