addon-sdk/source/bin/deactivate.bat

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 @echo off
     2 rem This Source Code Form is subject to the terms of the Mozilla Public
     3 rem License, v. 2.0. If a copy of the MPL was not distributed with this
     4 rem file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 if defined _OLD_VIRTUAL_PROMPT (
     7     set "PROMPT=%_OLD_VIRTUAL_PROMPT%"
     8 )
     9 set _OLD_VIRTUAL_PROMPT=
    11 if defined _OLD_VIRTUAL_PATH (
    12     set "PATH=%_OLD_VIRTUAL_PATH%"
    13 )
    14 set _OLD_VIRTUAL_PATH=
    16 if defined _OLD_PYTHONPATH (
    17     set "PYTHONPATH=%_OLD_PYTHONPATH%"
    18 )
    19 set _OLD_PYTHONPATH=
    21 set CUDDLEFISH_ROOT=
    23 :END

mercurial