mcomix: fix "context has already been set" error

Fix: #55997
This commit is contained in:
Đoàn Trần Công Danh 2025-06-27 16:39:33 +07:00
parent a21712c11a
commit c04672b87a
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
--- a/mcomix/__main__.py
+++ b/mcomix/__main__.py
@@ -21,10 +21,10 @@ from .run import run
def main() -> None:
- mp.freeze_support()
- mp.set_start_method('spawn')
run()
if __name__ == '__main__':
+ mp.freeze_support()
+ mp.set_start_method('spawn')
main()

View file

@ -1,7 +1,7 @@
# Template file for 'mcomix'
pkgname=mcomix
version=3.1.0
revision=2
revision=3
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-gobject python3-cairo python3-Pillow xdg-utils"