Skip to content

AnkiRestart is an add-on to quickly restart Anki.

Notifications You must be signed in to change notification settings

shigeyukey/AnkiRestart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

banner_AnkiRestart

reddit

Add-on code : 237169833

Youtube : shigeyuki : AnkiRestart Quickly restart Anki add-on, Prototype, Free

AnkiRestart Demo

FixerMed explained how to use it on Youtube! Thank you!🙏

Youtube : FixerMed : Add a One-Click Quick Restart Button to Anki with AnkiRestart

image

Description

This add-on is for quickly restarting Anki.

Anki doesn't allow 2 Anki's to be started at the same time, so to restart Anki, you need to wait a little while until Anki is completely closed.
This add-on watches for Anki to be completely terminated and automatically restarts it, thus ensuring a reliable restart with one click.

It can be used for add-ons that need to be restarted when settings are changed, or for developing add-ons.
When you press the restart button on the menu bar, it skips the sync, waits for Anki to close, and then runs a new Anki.
You can also use the shortcut keys to restart ( defaults to Ctrl+Shift+R).
Incidentally, the restart sound will be played.

Options

image

1. Option tab

  • show/hide icons on menu bar
  • Restart After Updating Addons(unstable)
  • Restart Shortcut key (Default is Ctrl+Shift+R)

2. Develop tab

  • Restart SafeMode Enabled
  • Auto Restart After SafeMode
  • Show console(Windows,unstable)
  • No use executable file(Linux/Mac)

3. Sound effect tab

  • Sound Effect... Play sound when restarting
  • Error Animation... Play animation when an error occurs

4. Custom tab

  • Use Anki path Manually... Specify directly anki.exe, anki-console.bat, etc.
  • Use custom base folder(-b)... for booting Anki from portable USB.

Attention

This add-on is separated from Anki in purpose of restarting Anki, so there is a high possibility of mis-detection by antivirus software. This problem is solvable, but requires $200+ per year (Code Signing), so I'm not considering it at now.

  • 1. [ Windows ] If your antivirus software mis-detects add-on, the ".exe" will be quarantined. It's labeled Trojan but it's a mis-detection, so no danger. In this case, this add-on cannot be used without Allow on device. (Edit : So far there are no reports of this problem, so it may not happen that often?)
  • 2. [ Mac ] I have fixed the bug so it will probably work.
  • 3. [ Linax ] The executable file is created in Ubuntu and PyInstaller (AnkiRestart.py), so it may not work properly except in Ubuntu. You can enable "No use executable file (Linux/Mac)" to restart without using the executable file, but it may duplicate instances of Anki.

image

Others

If you have any bugs or questions, please feel free to comment.

button_again (3) button_hard (3) button_good (3) button_easy (3)

Patreon_banner (2)

About

AnkiRestart is an add-on to quickly restart Anki.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published