Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1019816 // mozillaConfigBaseDir

JavaX fragment (include)

1  
static File mozillaConfigBaseDir() {
2  
  if (isWindows())
3  
    ret newFile(newFile(System.getenv("APPDATA")), "Mozilla/Firefox");
4  
  else if (isMac())
5  
    ret oneOfTheDirs(
6  
      userDir("Library/Application Support/Firefox"),
7  
      userDir("Library/Mozilla/Firefox")); 
8  
  else
9  
    ret userDir(".mozilla/firefox");
10  
}

Author comment

Began life as a copy of #1019814

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019816
Snippet name: mozillaConfigBaseDir
Eternal ID of this version: #1019816/2
Text MD5: 4a574977d7f4d995c0b9637143df4f0c
Author: stefan
Category: javax / firefox
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-27 00:23:51
Source code size: 321 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 351 / 363
Version history: 1 change(s)
Referenced in: [show references]