Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
cba8d293
Commit
cba8d293
authored
Nov 09, 2016
by
Alexey.Golubev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added script to get cef
parent
0c8531ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
0 deletions
+55
-0
Common/3dParty/cef/fetch.sh
Common/3dParty/cef/fetch.sh
+55
-0
No files found.
Common/3dParty/cef/fetch.sh
0 → 100644
View file @
cba8d293
#!/bin/bash
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPTPATH
=
$(
dirname
"
$SCRIPT
"
)
os
=
$(
uname
-s
)
platform
=
""
case
"
$os
"
in
Linux
*
)
platform
=
"linux"
;;
Darwin
*
)
platform
=
"mac"
;;
*
)
exit
;;
esac
architecture
=
$(
uname
-m
)
arch
=
""
case
"
$architecture
"
in
x86_64
*
)
arch
=
"_64"
;;
*
)
arch
=
"_32"
;;
esac
if
[[
-d
"
$SCRIPTPATH
/
$platform$arch
"
]]
then
echo
else
mkdir
"
$SCRIPTPATH
/
$platform$arch
"
fi
cd
"
$SCRIPTPATH
/
$platform$arch
"
if
[
-d
"build"
]
then
echo
""
else
mkdir
"build"
fi
if
[[
"
$platform
"
==
*
"linux"
*
]]
then
if
[[
-f
"
$SCRIPTPATH
/cef_binary.7z"
]]
then
echo
"cef_binary already downloaded"
else
wget http://d2ettrnqo7v976.cloudfront.net/cef/2454/
$platform$arch
/cef_binary.7z
fi
if
[
-d
"./
$SCRIPTPATH
/cef"
]
then
echo
"cef_binary already extracted"
else
7z x
-y
$SCRIPTPATH
/cef_binary.7z
-o
$SCRIPTPATH
/
fi
cp
-t
build ./Release/
*
./Resources/
*
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment