Commit graph

11210 commits

Author SHA1 Message Date
Jack251970
d62fd05599 Ensure the path is updated in settings in case user has moved Flow to a different location 2026-02-21 20:22:04 +08:00
Jack251970
9b0a50376c Clarify exception type in path resolution catch block
Updated the catch block in DataLocation.cs to explicitly use System.Exception instead of Exception when handling path resolution errors. This improves code clarity while maintaining the same error handling logic for ArgumentException, NotSupportedException, and PathTooLongException.
2026-02-21 20:18:09 +08:00
Jack Ye
b923c40054
Merge branch 'dev' into copilot/support-relative-paths 2026-02-21 20:12:58 +08:00
Jack Ye
34a984cd86
Improve code comments
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 20:12:49 +08:00
Jack Ye
001101bb81
Improve error handling
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 20:11:49 +08:00
Jack Ye
118d6e2a73
Fix incomplete plugin directory deletion on uninstall (#4250)
Some checks failed
Build / build (push) Has been cancelled
2026-02-21 22:34:53 +11:00
Jeremy Wu
918eb0f4a9
New Crowdin updates (#4181) 2026-02-21 12:51:21 +02:00
DB P
11e0f8c3a4
Merge pull request #4273 from onesounds/20250220_SkipConfirm
Some checks are pending
Build / build (push) Waiting to run
Add option to skip confirmation for power actions (Sys Plugin)
2026-02-21 16:01:06 +09:00
Jack251970
a99b8399fe Improve code quality 2026-02-21 14:51:20 +08:00
DB P
7e9a626891 style: fix indentation and tab spacing 2026-02-20 17:40:27 +09:00
DB P
cecd90e675 Refactor: Improve power action logic and property setter
- Add braces for better readability in shutdown/reboot logic (Main.cs).
- Prevent redundant OnPropertyChanged calls in _skipPowerActionConfirmation setter (Settings.cs).
2026-02-20 17:34:37 +09:00
DB P
2d7d025682 Add Skip logic in command 2026-02-20 17:18:21 +09:00
DB P
12fc597b56 Add Checkbox for Skip Confirm 2026-02-20 17:06:31 +09:00
Jack Ye
886cd75ad2
Merge pull request #4272 from umutKaracelebi/fix/readme-drag-drop-typo
Some checks are pending
Build / build (push) Waiting to run
Fix/readme drag drop typo
2026-02-20 12:32:40 +08:00
Jack251970
2b50c4faae README Polish: fixed Flow 2026-02-20 12:22:44 +08:00
umutKaracelebi
9c3dfcd09f README Polish: fixed grammar, consistency, and phrasing 2026-02-19 21:50:29 +03:00
umutKaracelebi
cb52fa6ab7 Fix typo: 'can be change' -> 'can be changed' in Drag & Drop section 2026-02-19 21:29:39 +03:00
Jack Ye
faeba8119a
Merge pull request #4263 from Flow-Launcher/dependabot/nuget/Plugins/Flow.Launcher.Plugin.BrowserBookmark/Microsoft.Data.Sqlite-10.0.3
Some checks failed
Build / build (push) Has been cancelled
Bump Microsoft.Data.Sqlite from 10.0.2 to 10.0.3
2026-02-11 10:07:49 +08:00
Jack Ye
89b338fb86
Merge pull request #4264 from Flow-Launcher/dependabot/nuget/Flow.Launcher.Plugin/Microsoft.SourceLink.GitHub-10.0.103
Bump Microsoft.SourceLink.GitHub from 10.0.102 to 10.0.103
2026-02-11 10:07:35 +08:00
dependabot[bot]
60ef8e648c
Bump Microsoft.SourceLink.GitHub from 10.0.102 to 10.0.103
---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-version: 10.0.103
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 22:45:26 +00:00
dependabot[bot]
498913e71d
Bump Microsoft.Data.Sqlite from 10.0.2 to 10.0.3
---
updated-dependencies:
- dependency-name: Microsoft.Data.Sqlite
  dependency-version: 10.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 22:45:10 +00:00
Jack Ye
6c1f7fade8
Merge pull request #4260 from Flow-Launcher/dependabot/nuget/Plugins/Flow.Launcher.Plugin.BrowserBookmark/SkiaSharp-3.119.2
Some checks are pending
Build / build (push) Waiting to run
Bump SkiaSharp from 3.119.1 to 3.119.2
2026-02-10 11:44:48 +08:00
dependabot[bot]
0f829d0b91
Bump SkiaSharp from 3.119.1 to 3.119.2
---
updated-dependencies:
- dependency-name: SkiaSharp
  dependency-version: 3.119.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-10 01:07:13 +00:00
Jack Ye
0717933459
Fix progress query management and thread safety (#4135)
Some checks failed
Build / build (push) Has been cancelled
2026-02-08 12:49:12 +11:00
Jack Ye
516059e390
Merge pull request #4252 from Flow-Launcher/dependabot/nuget/Flow.Launcher.Plugin/multi-5d8c206339
Some checks failed
Build / build (push) Has been cancelled
Bump Microsoft.Windows.CsWin32 from 0.3.205 to 0.3.269
2026-02-06 14:06:23 +08:00
Jack251970
d4f472a64e Update AdjustTokenPrivileges PInvoke usage
Refactored the AdjustTokenPrivileges call to use null for the previous state and an out variable for the return length, improving compatibility with the PInvoke signature and aligning with recommended usage.
2026-02-05 20:28:37 +08:00
dependabot[bot]
97d7eab1a7
Bump Microsoft.Windows.CsWin32 from 0.3.205 to 0.3.269
---
updated-dependencies:
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.269
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.269
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.269
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-04 22:46:23 +00:00
Jeremy Wu
6c8add051f
Merge pull request #4057 from Flow-Launcher/last_history_show_result_icon
Some checks failed
Build / build (push) Has been cancelled
History results display actual result icon for Last Opened history style
2026-01-26 17:50:55 +11:00
Jeremy
248da93d05 fix preview when toggle history mode via Ctrl + H 2026-01-26 16:57:47 +11:00
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
Jack251970
9070ff4c7b Remove PathResolutionTest.cs and related path tests
Removed the PathResolutionTest.cs file, which contained unit tests for the Constant class's path resolution methods. These tests covered absolute, relative, UNC, null, and empty path scenarios, as well as round-trip conversions.
2026-01-24 15:58:37 +08:00
Jack251970
c59249d53a Save Python/Node paths as absolute, not relative
Removed logic that converted selected Python and Node executable
paths to relative if within the program directory. Now, the
selected file paths are stored as absolute paths without
conversion. This simplifies path handling and improves clarity.
2026-01-24 15:57:52 +08:00
Jack251970
ab5a0b493d Revert "Add UI descriptions for relative path support"
This reverts commit 864eedd255.
2026-01-24 15:55:49 +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]
864eedd255 Add UI descriptions for relative path support
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>
2026-01-24 07:49:13 +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
copilot-swe-agent[bot]
438bb8a2fc Initial plan 2026-01-24 07:43:35 +00:00
Jack Ye
e9dcd8b7ba
Fix code comments
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-01-23 16:15:25 +08:00
Jack251970
935d41dc26 Ensure combability of glyph setter 2026-01-23 16:10:01 +08:00
Jack251970
0f0ee9ffde Revert "Try to fix combability issue"
This reverts commit b703bcdd52.
2026-01-23 16:05:03 +08:00
Jack251970
b703bcdd52 Try to fix combability issue 2026-01-23 15:51:24 +08:00
Jack251970
8e127d0339 Code cleanup 2026-01-21 18:13:27 +08:00
Jack Ye
add111fe3f
Merge pull request #4212 from Flow-Launcher/dependabot/nuget/Flow.Launcher.Plugin/Microsoft.SourceLink.GitHub-10.0.102
Bump Microsoft.SourceLink.GitHub from 8.0.0 to 10.0.102
2026-01-21 18:08:03 +08:00
Jeremy
bf44637400 revert context menu early exit when history result 2026-01-20 23:18:00 +11:00
Jeremy
657e6ae7d3 add null-safe comparison for glyph 2026-01-20 22:55:04 +11:00
Jeremy
4ddb164bbd adjusted context menu call to exit early when history result selected 2026-01-20 22:48:11 +11:00
Jeremy
5c241d7491 fix to respect max history result shown setting 2026-01-20 21:47:38 +11:00
Jeremy
90360022a4 update glyph when history result exists 2026-01-20 21:26:04 +11:00