Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jotyGill committed Jun 6, 2019
1 parent 7d533c5 commit ada4664
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 36 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ If you have Firefox installed and wish to setup PF in another profile. You can c
``` bash
python3 -m pip install --user privacyfighter --upgrade
```
4. Close Firefox then run `privacyfighter` or `~/.local/bin/privacyfighter` in terminal if it is a new Firefox installation.
4. Close Firefox then run `privacyfighter -m -a` or `~/.local/bin/privacyfighter -m -a`
Alternatively
4. Run while providing a specific profile name (by default the `default` firefox profile will be modified)`~/.local/bin/privacyfighter -p your-new-profile-name`
4. Run while providing a specific profile name (by default the `default` firefox profile will be modified)`~/.local/bin/privacyfighter -m -a -p your-new-profile-name`

### 7.0 Post Installation<a name="post-installation"></a>
1. After installation is done, open Firefox then "addons" (Ctr+Shift+A) and enable all of them.
1. After installation is done, open Firefox then "addons" (Ctr+Shift+A) and enable and allow all of them in private windows.
2. Open a new tab > Clink on **Import Now** to import your bookmarks and history from an existing browser.
3. I recommend changing the default search engine from Google to DuckDuckGo or Startpage.
(Menu > Preferences > Search > Default Search Engine > DuckDuckGo)
Expand Down
13 changes: 9 additions & 4 deletions privacyfighter/pf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# from gooey import Gooey, GooeyParser

__version__ = "0.0.15"
__version__ = "0.1.0"
__basefilepath__ = os.path.dirname(os.path.abspath(__file__))

# temporary folder to download files in
Expand All @@ -37,13 +37,17 @@
# program_name="Privacy Fighter",
# requires_shell=False,
# tabbed_groups=True,
# default_size=(900, 530),
# )
def main():
parser = argparse.ArgumentParser(description="Privacy-Fighter: A Browser Setup To Protect Your Privacy")
# parser.add_argument("-v", "--version", action="version",
# version="Privacy-Fighter " + __version__ + __basefilepath__)
install_tab = parser.add_argument_group(
"Install", "Make sure firefox is not running at the moment and to enable the installed addons/extensions afterwords"
"Install", "Please make sure:\n"
"1. Firefox is installed but not running at the moment\n"
"2. You have created a Firefox profile named 'alternative'\n"
"3. After everything is finishes, remember to enable the installed addons/extensions."
)
install_tab.add_argument(
"-m",
Expand Down Expand Up @@ -172,10 +176,11 @@ def setup_alt_profile(firefox_path, profile_name="alternative"):
sys.exit(1)
else:
profile = profiles[0]
print("Firefox Profile to be secured/modified : ", profile, "\n")
print("Firefox Profile to be configured as an alternative : ", profile, "\n")

alt_userjs_path = os.path.join(firefox_path, profile, "user.js")
download_file("https://gitlab.com/JGill/privacy-fighter/raw/master/privacyfighter/profile/alt-user.js", alt_userjs_path)
download_file(
"https://gitlab.com/JGill/privacy-fighter/raw/master/privacyfighter/profile/alternative-user.js", alt_userjs_path)


def resource_path(relative_path):
Expand Down
27 changes: 0 additions & 27 deletions privacyfighter/profile/alt-user.js

This file was deleted.

2 changes: 1 addition & 1 deletion privacyfighter/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.12
0.1.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# pf_location = os.path.join(os.path.abspath(os.path.dirname(__file__)), "privacyfighter")
# exec(open(os.path.join(pf_location, "version.py")).read())
__version__ = "0.0.12"
__version__ = "0.1.0"

if sys.version_info < (3, 5):
sys.stderr.write("ERROR: requires Python 3.5 or above." + "Install using 'pip3' instead of just 'pip' \n")
Expand Down

0 comments on commit ada4664

Please sign in to comment.