Commit graph

34 commits

Author SHA1 Message Date
Jack251970
9fa4c37109 Remove relative path conversion for plugin settings files
Removed logic that converted absolute paths to relative paths within the ProgramDirectory. Now, plugin settings file paths are always stored as absolute paths. Deleted the ConvertToRelativePathIfPossible method and updated usages accordingly.
2026-01-24 16:07:04 +08:00
Jack251970
d49e5b4c1f Remove unused Flow.Launcher.Infrastructure using directive
Eliminated the unnecessary using statement for Flow.Launcher.Infrastructure in AbstractPluginEnvironment.cs, as its types or members are no longer referenced in this file. This helps clean up the code and avoid redundant dependencies.
2026-01-24 16:04:32 +08:00
Jack251970
d16e43de8a Refactor path utilities to DataLocation from Constant
Move ResolveAbsolutePath and ConvertToRelativePathIfPossible from Constant to DataLocation for better organization. Update all references accordingly; implementations remain unchanged. This improves code clarity around file path management.
2026-01-24 16:03:26 +08:00
copilot-swe-agent[bot]
3de9e535ec Address code review feedback: convert absolute to relative paths for portability
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>
2026-01-24 07:51:22 +00:00
copilot-swe-agent[bot]
d61ec1828f Add relative path resolution support for Python and Node.js executables
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>
2026-01-24 07:47:57 +00:00
Jack251970
0a7ed3b52f Add AbstractPluginEnvironment.API back 2025-09-23 17:52:49 +08:00
Jack251970
0e366a6269 Use PublicApi.Instance instead of private one 2025-09-23 17:40:54 +08:00
Jack251970
7350c1d4d5 Use Flow.Launcher.Localization to improve code quality 2025-09-23 17:14:30 +08:00
Jack251970
dde933a96b Use api functions instead 2025-04-13 17:26:21 +08:00
Jack251970
a9dfd1b377 Code quality 2025-04-01 09:57:04 +08:00
Jack251970
6a2b3495a0 Ask reselect environment path until it is valid 2025-04-01 09:26:39 +08:00
Jack251970
eeb9ea78fd Code quality 2025-03-31 21:27:59 +08:00
Jack Ye
7975ab5882
Merge branch 'dev' into plugin_settings_cache_path 2025-03-01 08:51:06 +08:00
Jack251970
3106b025e3 Support plugin directory update & validate 2025-02-24 13:46:58 +08:00
Jack251970
3efe550b7f Use context plugin settings path 2025-02-24 13:28:58 +08:00
Jack251970
b50db58673 Add assembly name & plugin settings path & plugin cache path in meta data for non-csharp plugins 2025-02-24 12:37:08 +08:00
Jack251970
3cb9d1dce4 Remove IApp & AppExtensions and use dependency injection instead 2025-01-12 20:04:44 +08:00
Jack251970
88e84378da Use api in app extensions to call api functions 2025-01-09 21:44:24 +08:00
Jack251970
897fd7aaba Replace Flow.Launcher.Core.MessageBoxType & MessageBoxImage with System.Windows.MessageBoxButton & MessageBoxImage
Remove useless warning file
2024-11-26 21:31:13 +08:00
Jack251970
b30cc4fc38 Replace System.Windows.MessageBox with MessageBoxEx 2024-11-25 10:38:43 +08:00
Yusyuriv
ca970bbe75
Localize startup messages about missing Python/NodeJS 2024-06-09 18:45:23 +06:00
Hongtao Zhang
16dcdf01fd
load v2 plugins 2023-03-26 01:12:21 -05:00
Jeremy
d2658c710c add null check 2022-12-06 17:57:27 +11:00
Jeremy
0daf52faec remove PythonEmbeddable folder regardless if it's being used or not 2022-12-06 17:38:18 +11:00
Jeremy
cef53bce96 add empty string defaults to plugin executable paths 2022-12-02 19:27:04 +11:00
Jeremy
e28906de9e rename method 2022-12-02 08:53:57 +11:00
Jeremy
e1e89514d4 remove duplicated updater pre-startup methods 2022-12-01 20:58:31 +11:00
Jeremy
87e49cdb7c formatting 2022-12-01 20:35:23 +11:00
Jeremy
5975b6e5c8 plugin env paths correction after update or mode change 2022-12-01 14:40:24 +11:00
Jeremy
680ed77daa add abstract create plugin pair method to handle each plugin type 2022-11-30 21:06:54 +11:00
Jeremy Wu
07bc2a70b6 remove PythonEmbeddable location 2022-11-28 21:22:49 +11:00
Jeremy Wu
9eb5489863 update setting's environment file paths after app update 2022-11-28 08:44:42 +11:00
Jeremy Wu
6561253483 ensure latest only when using Flow's env setup 2022-11-22 09:28:29 +11:00
Jeremy Wu
4e48c3eb10 refactor 2022-11-22 09:20:27 +11:00