Commit 5d03ae15 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Merge branch 'remove_font_cache' into 'main'

Remove user's font cache

See merge request !14
parents 5fa95c45 358fc06f
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -17,5 +17,7 @@ source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

# put together arguments - conda_env, application, argv
args=("${CONDA_ENVIRON}" "addie" "$@")
# remove font-cache to side step startup speed issue
rm -f ${HOME}/.cache/fontconfig/*
# launch the tool
activate_and_launch "${args[@]}"
+2 −0
Original line number Diff line number Diff line
@@ -4,5 +4,7 @@ source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

# put together arguments - conda_env, application, argv
args=("mantid" "mantidworkbench" "$@")
# remove font-cache to side step startup speed issue
rm -f ${HOME}/.cache/fontconfig/*
# launch the tool
activate_and_launch "${args[@]}"
+2 −0
Original line number Diff line number Diff line
@@ -4,5 +4,7 @@ source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

# put together arguments - conda_env, application, argv
args=("mantid-dev" "mantidworkbench" "$@")
# remove font-cache to side step startup speed issue
rm -f ${HOME}/.cache/fontconfig/*
# launch the tool
activate_and_launch "${args[@]}"
+2 −0
Original line number Diff line number Diff line
@@ -4,5 +4,7 @@ source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

# put together arguments - conda_env, application, argv
args=("mantid-qa" "mantidworkbench" "$@")
# remove font-cache to side step startup speed issue
rm -f ${HOME}/.cache/fontconfig/*
# launch the tool
activate_and_launch "${args[@]}"
+5 −1
Original line number Diff line number Diff line
%global srcname nsd-app-wrap

Name:           nsd-app-wrap
Version:        1.28
Version:        1.29
Release:        1%{?dist}
Summary:        Wrapper scripts to launch python applications installed via anaconda
Vendor:         Peter F. Peterson
@@ -70,6 +70,10 @@ install -m 644 jupyter.local.desktop %{buildroot}%{_datadir}/applications/
%license LICENSE

%changelog
* Fri Oct 7 2022 Michael Walsh and Pete Peterson
- Alter Pyrs launch script to launch from conda install, with a backup of local install
- Remove user font cache on startup of GUIs

* Mon Sep 26 2022 Ross Whitfield
- Add Terminal=true to jupyter.local.desktop

Loading