Merge branch 'brunoshiroma-master-patch-09391' into 'master'
Brunoshiroma master patch 09391 See merge request librewolf-community/browser/windows!1
This commit is contained in:
commit
9a99a198aa
8 changed files with 97 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
firefox.exe
|
||||||
|
librewolf
|
||||||
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
build_job:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- '& git submodule update --init --recursive' #pull the settings submodule
|
||||||
|
- '& $env:CI_PROJECT_DIR\package.ps1'
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 yrs
|
||||||
|
paths:
|
||||||
|
- librewolf
|
||||||
|
tags:
|
||||||
|
- windows
|
||||||
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "settings"]
|
||||||
|
path = settings
|
||||||
|
url = https://gitlab.com/librewolf-community/settings.git
|
||||||
BIN
7za.exe
Normal file
BIN
7za.exe
Normal file
Binary file not shown.
31
License.txt
Normal file
31
License.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
7-Zip Extra
|
||||||
|
~~~~~~~~~~~
|
||||||
|
License for use and distribution
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Copyright (C) 1999-2019 Igor Pavlov.
|
||||||
|
|
||||||
|
7-Zip Extra files are under the GNU LGPL license.
|
||||||
|
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
You can use 7-Zip Extra on any computer, including a computer in a commercial
|
||||||
|
organization. You don't need to register or pay for 7-Zip.
|
||||||
|
|
||||||
|
|
||||||
|
GNU LGPL information
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library 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. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You can receive a copy of the GNU Lesser General Public License from
|
||||||
|
http://www.gnu.org/
|
||||||
|
|
||||||
17
README.md
17
README.md
|
|
@ -1 +1,16 @@
|
||||||
This repository is still a work in progress
|
# Librewolf Windows
|
||||||
|
|
||||||
|
## Instalation/Creation
|
||||||
|
* clone this repository
|
||||||
|
* execute the package.ps1 on powershell
|
||||||
|
|
||||||
|
This is create a folder *librewolf* on current dir, with subfolder core (its content of the firefox.exe), with Firefox configured with scripts/settings of librewolf.
|
||||||
|
From that point you can install using the setup.exe or simple execute the ***firefox.exe*** on the core folder.
|
||||||
|
|
||||||
|
## Cloning the repo
|
||||||
|
```powershell
|
||||||
|
git clone --recursive https://gitlab.com/brunoshiroma/windows.git
|
||||||
|
```
|
||||||
|
|
||||||
|
### Opensource Licences/Uses
|
||||||
|
This scripts use and embed [7zip](https://www.7-zip.org/)
|
||||||
|
|
|
||||||
30
package.ps1
Normal file
30
package.ps1
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# delete old things...
|
||||||
|
Remove-Item -Path firefox.exe -Force
|
||||||
|
Remove-Item -Path librewolf -Force
|
||||||
|
|
||||||
|
|
||||||
|
# windows download version lastest win64
|
||||||
|
$url = "https://download.mozilla.org/?product=firefox-latest-ssl&os=win64"
|
||||||
|
|
||||||
|
# windows download version lastest win32
|
||||||
|
#$url = "https://download.mozilla.org/?product=firefox-latest-ssl&os=win"
|
||||||
|
|
||||||
|
$downloadfile = "$PSScriptRoot\firefox.exe"
|
||||||
|
|
||||||
|
Write-Output "Downloading to $downloadfile"
|
||||||
|
|
||||||
|
# download firefox
|
||||||
|
Invoke-WebRequest -Uri $url -outfile $downloadfile
|
||||||
|
|
||||||
|
Write-Output "Extracting $downloadfile to librewolf"
|
||||||
|
# extract with 7zip
|
||||||
|
& "$PSScriptRoot\7za.exe" x -olibrewolf .\firefox.exe
|
||||||
|
|
||||||
|
Write-Output "Delete files with privacy....."
|
||||||
|
# remove contact with mothership
|
||||||
|
Remove-Item -Path librewolf\core\crashreporter.exe -Force
|
||||||
|
Remove-Item -Path librewolf\core\updater.exe -Force
|
||||||
|
Remove-Item -Path librewolf\core\pingsender.exe -Force
|
||||||
|
|
||||||
|
Write-Output "Copy librewolf settings"
|
||||||
|
Copy-Item -Path "$PSScriptRoot\settings\*" -Destination "$PSScriptRoot\librewolf\core" -Recurse -force
|
||||||
1
settings
Submodule
1
settings
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 640b375dc02c5b089f678ed16b0232d1c0cc0721
|
||||||
Loading…
Add table
Reference in a new issue