mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 00:12:25 -04:00
run deck closed hook in libanki, fix mac build scripts
This commit is contained in:
parent
3870c2dcc9
commit
b9c765e7b9
2 changed files with 1 additions and 2 deletions
|
@ -702,7 +702,6 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
||||||
self.deck.rollback()
|
self.deck.rollback()
|
||||||
self.deck.close()
|
self.deck.close()
|
||||||
self.deck = None
|
self.deck = None
|
||||||
runHook("deckClosed")
|
|
||||||
if not hideWelcome:
|
if not hideWelcome:
|
||||||
self.moveToState("noDeck")
|
self.moveToState("noDeck")
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -13,5 +13,5 @@ cp -Rvf /usr/local/share/kakasi/itaijidict kakasi
|
||||||
echo "adding image formats..."
|
echo "adding image formats..."
|
||||||
cp -Rvf imageformats ankiqt
|
cp -Rvf imageformats ankiqt
|
||||||
echo "building..."
|
echo "building..."
|
||||||
PYTHONPATH=ankiqt python ankiqt/mac/setup.py bdist_dmg
|
PYTHONPATH=ankiqt:libanki python ankiqt/mac/setup.py bdist_dmg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue