boklm pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

3 changed files:

Changes:

  • projects/browser/RelativeLink/start-browser
    ... ... @@ -242,7 +242,7 @@ if test -z "$system_install"; then
    242 242
       sed -i -e "s,^Name=.*,Name=[% c('var/Project_Name') %],g" ../start-[% c('var/project-name') %].desktop
    
    243 243
       sed -i -e "s,^Icon=.*,Icon=$PWD/browser/chrome/icons/default/default128.png,g" ../start-[% c('var/project-name') %].desktop
    
    244 244
       sed -i -e "s,^Icon=.*,Icon=$PWD/browser/chrome/icons/default/default128.png,g" start-[% c('var/project-name') %].desktop
    
    245
    -  sed -i -e "s,^Exec=.*,Exec=sh -c '\"$PWD/start-[% c('var/project-name') %]\" --detach || ([ !  -x \"$PWD/start-[% c('var/project-name') %]\" ] \&\& \"\$(dirname \"\$*\")\"/Browser/start-[% c('var/project-name') %] --detach)' dummy %k,g" ../start-[% c('var/project-name') %].desktop
    
    245
    +  sed -i -e "s,^Exec=.*,Exec=sh -c '\"$PWD/start-[% c('var/project-name') %]\" || ([ !  -x \"$PWD/start-[% c('var/project-name') %]\" ] \&\& \"\$(dirname \"\$*\")\"/Browser/start-[% c('var/project-name') %])' dummy %k,g" ../start-[% c('var/project-name') %].desktop
    
    246 246
     
    
    247 247
       if [ "$register_desktop_app" -eq 1 ]; then
    
    248 248
         mkdir -p "$HOME/.local/share/applications/"
    

  • projects/browser/RelativeLink/start-browser.desktop
    ... ... @@ -28,7 +28,7 @@ Name=[% c("var/Project_Name") %] Setup
    28 28
     GenericName=Web Browser
    
    29 29
     Comment=[% c("var/Project_Name") %]  is +1 for privacy and −1 for mass surveillance
    
    30 30
     Categories=Network;WebBrowser;Security;
    
    31
    -Exec=sh -c '"$(dirname "$*")"/Browser/start-[% c("var/project-name") %]  --detach || ([ ! -x "$(dirname "$*")"/Browser/start-[% c("var/project-name") %] ] && "$(dirname "$*")"/start-[% c("var/project-name") %] --detach)' dummy %k
    
    31
    +Exec=sh -c '"$(dirname "$*")"/Browser/start-[% c("var/project-name") %] || ([ ! -x "$(dirname "$*")"/Browser/start-[% c("var/project-name") %] ] && "$(dirname "$*")"/start-[% c("var/project-name") %])' dummy %k
    
    32 32
     X-[% c("var/ProjectName") %]-ExecShell=./Browser/start-[% c("var/project-name") %] --detach
    
    33 33
     Icon=web-browser
    
    34 34
     StartupWMClass=[% c("var/display_name") %]

  • projects/linux-packages/browser.desktop.in
    ... ... @@ -5,7 +5,7 @@ Name=[% c("var/Project_Name") %]
    5 5
     GenericName=Web Browser
    
    6 6
     Comment=[% c("var/system_pkg/pkg_description") %]
    
    7 7
     Categories=Network;WebBrowser;
    
    8
    -Exec=/[% c("var/system_pkg/install_path") %]/start-[% c("var/project-name") %] --detach %u
    
    8
    +Exec=/[% c("var/system_pkg/install_path") %]/start-[% c("var/project-name") %] %u
    
    9 9
     Icon=[% c("var/system_pkg/pkg_name") %]
    
    10 10
     StartupWMClass=[% c("var/display_name") %]
    
    11 11
     [% IF ! c("var/tor-browser") -%]