Commit Graph

6 Commits

Author SHA1 Message Date
Stephen Zhou b95237f22e
refactor: move locales folder (#3374)
* chore: move locales out

* fix: correct import

* move generate local script
2025-03-31 18:59:29 +08:00
Innei d0bd89b106
fix(desktop): Improve platform-specific import resolution
- Add support for additional allowed extensions in import resolver
- Update import priorities for electron and web platforms
- Remove unnecessary `@follow/` import condition

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:50:58 +08:00
Innei 7382a03e0a
fix(desktop): Enhance import resolver for platform-specific modules
- Update specific import plugin to handle `@follow/` imports
- Extend import resolution logic for platform-specific components

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:40:26 +08:00
Innei 048f082776
refactor(desktop): Consolidate platform-specific components for desktop and electron
- Rename `.desktop.tsx` files to `.electron.tsx` for consistent naming
- Update import paths in main component files to use `.electron.tsx`
- Remove redundant files and consolidate platform-specific implementations
- Adjust import resolver for platform-specific components

Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:34:53 +08:00
Innei d6795a0cab
fix: import resolver for web
Signed-off-by: Innei <tukon479@gmail.com>
2025-03-04 18:30:15 +08:00
DIYgod 8b07a9a573
chore: desktop dir (#2924)
* chore: desktop dir

* chore: desktop src and configs

* chore: auto-fix linting and formatting issues

* fix: path

* fix: path

* fix: path

* fix: path

* fix

* fix

* fix

* test

* test

* test

* test

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: DIYgod <8266075+DIYgod@users.noreply.github.com>
2025-03-02 17:19:22 +08:00