forked from Shinonome/dots-hyprland
fix latex rendering file operations (#559)
This commit is contained in:
@@ -72,9 +72,9 @@ const TextBlock = (content = '') => Label({
|
|||||||
label: content,
|
label: content,
|
||||||
});
|
});
|
||||||
|
|
||||||
Utils.execAsync(['bash', '-c', `rm ${LATEX_DIR}/*`])
|
Utils.execAsync(['bash', '-c', `rm -rf ${LATEX_DIR}`])
|
||||||
.then(() => Utils.execAsync(['bash', '-c', `mkdir -p ${LATEX_DIR}`]))
|
.then(() => Utils.execAsync(['bash', '-c', `mkdir -p ${LATEX_DIR}`]))
|
||||||
.catch(() => { });
|
.catch(print);
|
||||||
const Latex = (content = '') => {
|
const Latex = (content = '') => {
|
||||||
const latexViewArea = Box({
|
const latexViewArea = Box({
|
||||||
// vscroll: 'never',
|
// vscroll: 'never',
|
||||||
|
|||||||
Reference in New Issue
Block a user