Skip to content

Commit 52b2cd7

Browse files
committed
Change to using Rules dir from the cargo download cache.
This still wrong in that it hard codes in the MathCAT version. I need to find a way to get the current package version being used. Note: all the old versions of MathCAT are kept in the cache, so I can't use a wildcard ("*").
1 parent a3776d1 commit 52b2cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NVDA-addon/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
cargo build --target i686-pc-windows-msvc --release
44

55
# copy over all the rules and then remove a few "extra" files
6-
cp -r ../../MathCAT/Rules addon/globalPlugins/MathCAT
7-
rm -rf addon/globalPlugins/MathCAT/Rules/.tmp.driveupload
6+
# FIX: need a way to keep using the most current version of MathCAT's rules
7+
cp -r ~/.cargo/registry/src/*/mathcat-0.1.5/Rules addon/globalPlugins/MathCAT
88
rm -f addon/globalPlugins/MathCAT/Rules/Nemeth/unicode.yaml-with-all
99
rm -rf addon/globalPlugins/MathCAT/Rules/zz
1010

0 commit comments

Comments
 (0)