1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:17:44 +00:00

TextEditor+LibGUI: Use unveil and FileSystemAccessServer

Making use of the new FileSystemAccessServer we are able to use
unveil without restricting our ability to open and save files.
A file argument will be unveiled automatically however all other files
require user action via the FileSystemAccessServer to gain access.
This commit is contained in:
Timothy 2021-06-30 06:13:06 -07:00 committed by Andreas Kling
parent 41ce2debda
commit 73ae5200a9
6 changed files with 109 additions and 18 deletions

View file

@ -2,7 +2,7 @@ serenity_component(
TextEditor
RECOMMENDED
TARGETS TextEditor
DEPENDS ImageDecoder RequestServer WebContent
DEPENDS ImageDecoder RequestServer WebContent FileSystemAccessServer
)
compile_gml(TextEditorWindow.gml TextEditorWindowGML.h text_editor_window_gml)