Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: Migrate to Prisma for the Internal launcher database #31

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

pauliesnug
Copy link
Member

@pauliesnug pauliesnug commented Jul 25, 2024

migrates internal data structures to use prisma with sqlite and prisma-client-rust. allows for cool db migrations and better stability/performance. also refactors all blocking and async operations, and ensures the launcher has smooth performance even during intensive operations like asset downloading

also changes launcher directory to be more in line with what other apps use, and fixes some bugs with db and freezing of the launcher due to weird RwLock behaviors.

very very very wip... here are some todo items that i will forget to update:

  • remove offline mode stuff
  • restructure store to work with the new prisma types
  • add ability to change the default launcher directory
  • restructure file system watcher (maybe remove, not sure)
  • fix cluster importing
  • fix cluster exporting
  • tauri meta changes
  • remove debugging macros

@pauliesnug pauliesnug self-assigned this Jul 25, 2024
@pauliesnug pauliesnug added enhancement New feature or request help wanted Extra attention is needed javascript Pull requests that update Javascript code rust Pull requests that update Rust code labels Jul 25, 2024
@pauliesnug pauliesnug added this to the Release v1.0.0 milestone Aug 2, 2024
@pauliesnug pauliesnug changed the title migrate to prisma for the internal launcher database Refactor: Migrate to Prisma for the Internal launcher database Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed javascript Pull requests that update Javascript code rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant