Skip to content

Commit

Permalink
Merge pull request #40 from gamingdoom/unstable
Browse files Browse the repository at this point in the history
Fix issues related to building, screensharing, and letterboxing
  • Loading branch information
gamingdoom authored Jan 24, 2023
2 parents dc0a7ba + e7a5e5e commit 9ff146a
Show file tree
Hide file tree
Showing 11 changed files with 846 additions and 914 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,5 @@ Datcord-x86_64.AppImage

# Ignore build dir
build/
mozilla-unified/

21 changes: 16 additions & 5 deletions buildDatcord.sh
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,25 @@

mozbuild=~/.mozbuild
export PATH="$PATH:$mozbuild/git-cinnabar"
echo $PATH
mkdir mozilla-unified
if [ -z "$(ls mozilla-unified)" ]; then
rm mozilla-unified
datcordDir=$PWD

if [ ! -d $mozbuild ]; then
mkdir $mozbuild
fi

if [ ! -d mozilla-unified ]; then
mkdir mozilla-unified
curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -O
python3 bootstrap.py --vcs=git --no-interactive --application-choice=browser_artifact_mode
$mozbuild/git-cinnabar/git-cinnabar install
fi

if [ ! -d $mozbuild/git-cinnabar ]; then
git clone https://github.com/glandium/git-cinnabar.git $mozbuild/git-cinnabar
cd $mozbuild/git-cinnabar
make
cd $datcordDir
fi

cd mozilla-unified
cp -r ../changed/* .
patch -p1 ../mozilla_dirsFromLibreWolf.patch
Expand Down
Loading

0 comments on commit 9ff146a

Please sign in to comment.