mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
fix latex rendering file operations (#559)
This commit is contained in:
parent
a94172d9cd
commit
a67cb9d73a
1 changed files with 2 additions and 2 deletions
|
|
@ -72,9 +72,9 @@ const TextBlock = (content = '') => Label({
|
|||
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}`]))
|
||||
.catch(() => { });
|
||||
.catch(print);
|
||||
const Latex = (content = '') => {
|
||||
const latexViewArea = Box({
|
||||
// vscroll: 'never',
|
||||
|
|
|
|||
Loading…
Reference in a new issue