mirror of
https://git.srhtnin.garden/sarah/SaraSuite.git
synced 2026-10-15 10:33:17 +02:00
Initial commit
This commit is contained in:
commit
bea0f43947
25 files changed
+2327
No files matched your search
@@ -0,0 +1,67 @@
|
||||
Name = "SaraFem"
|
||||
Description = "Desktop file manager that understands SaraTag Books, and can stand in as the system file picker."
|
||||
|
||||
# The portal reads its descriptors and preferences once at startup.
|
||||
RestartUnits = ["xdg-desktop-portal.service"]
|
||||
|
||||
[Source]
|
||||
Git = "{GitHost}/SaraFem"
|
||||
Include = ["*.py", "requirements.txt", "assets/**"]
|
||||
Exclude = ["Packaging"]
|
||||
|
||||
[Python]
|
||||
RequirementsFile = "requirements.txt"
|
||||
|
||||
[[Options]]
|
||||
Id = "FilePicker"
|
||||
Label = "Use SaraFem as the system file picker (asks for your password: the portal file lives in /usr/share)"
|
||||
Default = true
|
||||
|
||||
[[Options]]
|
||||
Id = "DefaultFileManager"
|
||||
Label = "Make SaraFem the default file manager"
|
||||
Default = false
|
||||
|
||||
[[Templates]]
|
||||
Source = "Launch.sh"
|
||||
Target = "{AppDir}/Packaging/Launch.sh" # where PortalService.py looks for it
|
||||
Executable = true
|
||||
|
||||
[[Templates]]
|
||||
Source = "SaraFem.desktop"
|
||||
Target = "{ApplicationsDir}/SaraFem.desktop"
|
||||
|
||||
[[Templates]]
|
||||
Source = "PortalService.service"
|
||||
Target = "{DBusServicesDir}/org.freedesktop.impl.portal.desktop.SaraFem.service"
|
||||
Option = "FilePicker"
|
||||
|
||||
[[Templates]]
|
||||
Source = "SaraFem.portal"
|
||||
Target = "/usr/share/xdg-desktop-portal/portals/SaraFem.portal"
|
||||
Option = "FilePicker"
|
||||
Root = true
|
||||
|
||||
[[IniEdits]]
|
||||
File = "{ConfigHome}/xdg-desktop-portal/{Desktop}-portals.conf"
|
||||
Section = "preferred"
|
||||
Key = "org.freedesktop.impl.portal.FileChooser"
|
||||
Value = "SaraFem;{Desktop};gtk;"
|
||||
Option = "FilePicker"
|
||||
|
||||
[[IniEdits]]
|
||||
File = "{ConfigHome}/mimeapps.list"
|
||||
Section = "Default Applications"
|
||||
Key = "inode/directory"
|
||||
Value = "SaraFem.desktop"
|
||||
Option = "DefaultFileManager"
|
||||
|
||||
[[Leftovers]]
|
||||
Path = "{CacheHome}/SaraFem"
|
||||
Kind = "Runtime"
|
||||
Note = "thumbnail cache"
|
||||
|
||||
[[Leftovers]]
|
||||
Path = "{ConfigHome}/SaraFem"
|
||||
Kind = "Config"
|
||||
Note = "old pre-SaraSuite config location"
|
||||
Reference in new issue
Block a user