Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

1 changed file:

Changes:

  • projects/browser/build
    ... ... @@ -40,10 +40,13 @@ touch "$GENERATEDPREFSPATH"
    40 40
       TBDIRS=("$TBDIR")
    
    41 41
     
    
    42 42
       DOCSPATH=[% c('var/ProjectName') %]/Docs
    
    43
    -  EXTSPATH=[% c('var/ProjectName') %]/Data/Browser/profile.default/extensions
    
    43
    +  EXTSPATH=distribution/extensions
    
    44 44
       TORBINPATH=TorBrowser/Tor
    
    45 45
       TORCONFIGPATH=TorBrowser/Data/Tor
    
    46 46
     
    
    47
    +  PROFILEPATH=[% c('var/ProjectName') %]/Data/Browser/profile.default/extensions
    
    48
    +  mkdir -p "$TBDIR/$PROFILEPATH"
    
    49
    +
    
    47 50
       mkdir -p "$TBDIR/[% c('var/ProjectName') %]/Data/Browser/Caches"
    
    48 51
     [% END %]
    
    49 52
     
    
    ... ... @@ -57,6 +60,9 @@ unzip -d $rootdir $rootdir/[% c('input_files_by_name/firefox') %]/mar-tools-*.zi
    57 60
     MARTOOLS=$rootdir/mar-tools
    
    58 61
     
    
    59 62
     mv [% c('input_files_by_name/noscript') %] "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
    
    63
    +[% IF !c("var/macos") -%]
    
    64
    +  cp "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" "$TBDIR/$PROFILEPATH/"
    
    65
    +[% END %]
    
    60 66
     
    
    61 67
     [% IF c("var/tor-browser") -%]
    
    62 68
       function mv_tbdir {
    
    ... ... @@ -91,7 +97,7 @@ mv [% c('input_files_by_name/noscript') %] "$TBDIR/$EXTSPATH/{73a6fe31-595d-460b
    91 97
       # Snowflake's README is a documentation shipped in tor-expert-bundle
    
    92 98
       mkdir -p "$TBDIR/$DOCSPATH/snowflake" [% IF c("var/macos_universal") %]"$TBDIR_AARCH64/$DOCSPATH/snowflake"[% END %]
    
    93 99
       mv_tbdir tor/pluggable_transports/README.SNOWFLAKE.md "$DOCSPATH/snowflake/README.md"
    
    94
    -  
    
    100
    +
    
    95 101
       # WebTunnel's README is a documentation shipped in tor-expert-bundle
    
    96 102
       mkdir -p "$TBDIR/$DOCSPATH/webtunnel" [% IF c("var/macos_universal") %]"$TBDIR_AARCH64/$DOCSPATH/webtunnel"[% END %]
    
    97 103
       mv_tbdir tor/pluggable_transports/README.WEBTUNNEL.md "$DOCSPATH/webtunnel/README.md"