mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-25 15:08:12 +08:00
ba9d78e0d2
Other files.
16 lines
505 B
Bash
Executable File
16 lines
505 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2020-2024 New Vector Ltd.
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-only
|
|
# Please see LICENSE in the repository root for full details.
|
|
|
|
echo "Configure Element Template..."
|
|
if [ -z ${ANDROID_STUDIO+x} ]; then ANDROID_STUDIO="/Applications/Android Studio.app/Contents"; fi
|
|
{
|
|
mkdir -p "${ANDROID_STUDIO%/}/plugins/android/lib/templates/other"
|
|
ln -s $(pwd)/ElementFeature "${ANDROID_STUDIO%/}/plugins/android/lib/templates/other"
|
|
} && {
|
|
echo "Please restart Android Studio."
|
|
}
|