mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
87bfb47d1f
Prior to this commit, when you double-click a .zip file to open it, it gets opened in Text-Editor as there is no other file association. Now, when FileManager is invoked with a .zip file as the first argument, a temporary directory will be created and the .zip will be extracted into it. Once the FileManager window is closed, Core::TempFile will delete the temporary directory. This adds something like what we see in other operating systems' file explorers, except for the fact that most other operating systems will treat the .zip file as its own independent read-only filesystem. It would be nice to do that in the future, but I feel like this is sufficient for now.
7 lines
97 B
Text
7 lines
97 B
Text
[App]
|
|
Name=File Manager
|
|
Executable=/bin/FileManager
|
|
Category=Utilities
|
|
|
|
[Launcher]
|
|
FileTypes=zip
|