summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 23:06:22 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 23:06:22 +1000
commit0ccf16d42514e7861927be2678d2de001786297c (patch)
tree6395ddaf24d582b9d60f8594b21632399d1804b0 /run.sh
parentMerge pull request #6 from caelestia-dots/python-rework (diff)
downloadcaelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.tar.gz
caelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.tar.bz2
caelestia-cli-0ccf16d42514e7861927be2678d2de001786297c.zip
Squashed commit of the following:
commit 7c47604c45e293a29ca31f01e140d621194c0aa6 Author: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat Jun 14 23:02:06 2025 +1000 dev: run without installing
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/run.sh b/run.sh
index 9734996..aae070b 100755
--- a/run.sh
+++ b/run.sh
@@ -1,11 +1,7 @@
#!/usr/bin/env sh
-# Utility script for rebuilding and running caelestia
+# Utility script for running caelestia
-cd $(dirname $0) || exit
+cd "$(dirname $0)/src" || exit
-sudo rm -r dist /usr/bin/caelestia /usr/lib/python3.*/site-packages/caelestia* 2> /dev/null
-python -m build --wheel --no-isolation > /dev/null
-sudo python -m installer --destdir=/ dist/*.whl > /dev/null
-
-/usr/bin/caelestia "$@"
+python -m caelestia "$@"