2024-04-02 04:06:40 +00:00
|
|
|
EXEC_SHELL_PATH=$(command -v bash)
|
|
|
|
|
2024-09-08 20:03:55 +00:00
|
|
|
export QT_XCB_GL_INTEGRATION=none
|
|
|
|
export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"
|
|
|
|
export DISABLE_QT5_COMPAT=1
|
2024-04-02 04:06:40 +00:00
|
|
|
|
|
|
|
# Run Anki with nohup, redirecting output to a log file
|
2024-09-08 20:03:55 +00:00
|
|
|
nohup /nix/var/nix/profiles/default/bin/anki-bin > anki.log 2>&1 &
|
2024-04-02 04:06:40 +00:00
|
|
|
|
|
|
|
# Disown the process to remove it from the shell's job table
|
|
|
|
disown
|
|
|
|
|
|
|
|
# Close the terminal
|
|
|
|
exit
|