clangfmt everything

Former-commit-id: 84bc6480d9
Former-commit-id: fa1c9c8f207bc52eb2e8fa9c1d643bea0b17af4f
This commit is contained in:
idk
2022-08-30 15:49:44 -04:00
parent 4a64df9b1b
commit 32e5dd112f
13 changed files with 2348 additions and 2274 deletions

View File

@ -5,7 +5,7 @@ package net.i2p.i2pfirefox;
* Copyright (C) 2022 idk <hankhill19580@gmail.com>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the MIT License. See LICENSE.md for details.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
@ -14,30 +14,27 @@ package net.i2p.i2pfirefox;
* from a zip file embedded in the `jar` file. The zip is unpacked to a base
* directory where it is left untouched, and the base profile is copied to the
* active profile directory.
*
*
* @author idk
* @since 0.0.1
*/
public class I2PFirefoxProfileUnpacker extends I2PCommonBrowser {
public static void main(String[] args) {
String profileDirectory = I2PFirefoxProfileBuilder.profileDirectory();
if (profileDirectory == null) {
System.out.println("No profile directory found");
return;
}
public static void main(String[] args) {
String profileDirectory = I2PFirefoxProfileBuilder.profileDirectory();
if (profileDirectory == null) {
System.out.println("No profile directory found");
return;
}
}
/**
* unpack the profile directory
*
* @return true if the profile directory was successfully unpacked
* @since 0.0.1
*/
public boolean unpackProfile(String profileDirectory){
return unpackProfile(profileDirectory, "firefox", "base");
}
/**
* unpack the profile directory
*
* @return true if the profile directory was successfully unpacked
* @since 0.0.1
*/
public boolean unpackProfile(String profileDirectory) {
return unpackProfile(profileDirectory, "firefox", "base");
}
}