forked from Silverfish/proton-bridge
Merge commit comments
This commit is contained in:
@ -111,6 +111,8 @@ build-linux:
|
|||||||
|
|
||||||
build-darwin:
|
build-darwin:
|
||||||
stage: build
|
stage: build
|
||||||
|
only:
|
||||||
|
- devel
|
||||||
before_script:
|
before_script:
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
|
||||||
@ -124,8 +126,6 @@ build-darwin:
|
|||||||
cache: {}
|
cache: {}
|
||||||
tags:
|
tags:
|
||||||
- macOS-bridge
|
- macOS-bridge
|
||||||
only:
|
|
||||||
- devel
|
|
||||||
script:
|
script:
|
||||||
- make build
|
- make build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
## along with ProtonMail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
## along with ProtonMail Bridge. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
## remove non-relative or non-system path: in our case env therecipe
|
## Make sure that mac exe will not contain broken library links
|
||||||
|
# * remove absolute paths for Qt libs
|
||||||
|
# * add relative part to app bundle Frameworks
|
||||||
|
|
||||||
path_to_binary=$1
|
path_to_binary=$1
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ if [ -z ${path_to_binary} ]; then
|
|||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for remove_path_qt in $(otool -l "${path_to_binary}" | grep protonapple | awk '{print $2}');
|
for remove_path_qt in $(otool -l "${path_to_binary}" | grep '/Users/' | awk '{print $2}');
|
||||||
do
|
do
|
||||||
if [ ! -z "${remove_path_qt}" ]; then
|
if [ ! -z "${remove_path_qt}" ]; then
|
||||||
printf "\e[0;32mRemove path to qt ${remove_path_qt} ...\033[0m\n\e[0;31m"
|
printf "\e[0;32mRemove path to qt ${remove_path_qt} ...\033[0m\n\e[0;31m"
|
||||||
|
|||||||
Reference in New Issue
Block a user