Opened 12 years ago
Closed 11 years ago
#1457 closed enhancement (invalid)
[Proposition] bleachbit 0ad cleaner
Reported by: | rogue-spectre | Owned by: | rogue-spectre |
---|---|---|---|
Priority: | If Time Permits | Milestone: | |
Component: | Non-game systems | Keywords: | bleachbit cleaner |
Cc: | Patch: |
Description
Hi,
I just wrote the beginning of a 0ad linux cleaner for bleachbit… is it a good idea to do this now ? I'm just wondering if the "personnals" files are located in the same directories for each linux distro ? I also need to know the location of these files on other platforms (win, mac).
Attachments (2)
Change History (8)
by , 12 years ago
comment:1 by , 12 years ago
by , 12 years ago
Attachment: | 0ad-linuxfull-macithinkfull-winpartial.xml added |
---|
bleachbit cleaner with linux and mac support and partial win support
follow-up: 4 comment:2 by , 12 years ago
following the paths from GameDataPaths, i just add lines in order the cleaner can work under mac and win. But because of localized path for win, i just add the path which can be reached with variables. I will submit this cleaner to the bleachbit team this week (end) i think if there is no changes to be done.
comment:3 by , 12 years ago
You should probably use the XDG variables on linux (and use the default (eg. ~/.config) if they aren't set or are empty).
comment:4 by , 12 years ago
Replying to rogue-spectre:
following the paths from GameDataPaths, i just add lines in order the cleaner can work under mac and win. But because of localized path for win, i just add the path which can be reached with variables. I will submit this cleaner to the bleachbit team this week (end) i think if there is no changes to be done.
Is $LOCALAPPDATA
part of BleachBit? If that's the Windows environment variable you're using, it won't work on XP/2000 because it was only added with Vista (see #1438). I'm not sure if there's a good solution to integrate with BleachBit in that case.
comment:5 by , 12 years ago
hi,
i just look to the cleaners installed on my laptop "/usr/share/bleachbit/cleaners", i don't see any use of XDG variables, but localappdata is well used, i totaly agree with you historic_bruno, some path will not be clean under XP/2000 because this variable is not defined… i'll search if bleachbit defines some usefull variables to be able to use the cleaner under XP, but so far i've not seen something i can use…
comment:6 by , 11 years ago
Milestone: | Backlog |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Closing this ticket as it's not a 0 A.D. issue.
GameDataPaths should contain all information you need. We adhere to the XDG base dir spec on unix, and try to follow Apple's and Microsoft's guidelines on their operating systems.
I'll leave this ticket open, but I think you should try to get this added upstream (to BleachBit).