fetch user profile 👍

This commit is contained in:
2025-12-05 22:26:28 +08:00
parent f522148489
commit 97d4bb279c
4 changed files with 25 additions and 18 deletions

View File

@@ -1,13 +1,17 @@
# Friendolls (Desktop)
Run the following command in project root on first run & after changes to models on Rust side to generate TypeScript type bindings from Rust models
This repository contins source for Friendolls desktop app. Will add more info when the app scales.
Run the following command in project root after changes to models on Rust side to generate TypeScript type bindings from Rust models
```sh
# unix
TS_RS_EXPORT_DIR="../src/types/bindings" cargo test export_bindings --manifest-path=./src-tauri/Cargo.toml
# average unix shells
TS_RS_EXPORT_DIR="../src/types/bindings" cargo test export_bindings --manifest-path="./src-tauri/Cargo.toml"
```
```sh
# powershell
$Env:TS_RS_EXPORT_DIR = "../src/types/bindings"; cargo test export_bindings --manifest-path=./src-tauri/Cargo.toml
$Env:TS_RS_EXPORT_DIR = "../src/types/bindings"; cargo test export_bindings --manifest-path="./src-tauri/Cargo.toml"
```
> _To the gods of programming, please grant me the perseverance to push through and get this app into production_ 🙏