Gradience/local.sh
tfuxu df0a5ac009 fix: comment out self.on_apply_button() in get_default_wallpaper func to get rid of error toast on startup when build in Flatpak
* set tooltip text in monet_file_chooser_button
* update copyright in window.py and add one in plugin_row.py
* update local.sh and fix 'user' rule in Makefile
* replace all remaining print() to buglog(), and redirect to to_slug_case in utils.py
2022-08-23 21:34:47 +02:00

37 lines
1.2 KiB
Bash
Executable file

#!/usr/bin/bash
#
# Change the look of Adwaita, with ease
# Copyright (C) 2022 Gradience Team
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
read -p "Do you want to install Python requirements? (yes, no): " answer
if [[ "$answer" == "yes" ]]; then
pip3 install --user -r requirements.txt
elif [[ "$answer" == "no" ]]; then
echo "Skipping requirements installation"
fi
echo "Cleaning builddir directory"
rm -r builddir
echo "Rebuilding"
meson builddir
meson configure builddir -Dprefix="$(pwd)/builddir/testdir" -Dbuildtype=debug
ninja -C builddir install
echo "Running"
ninja -C builddir run