mirror of
https://github.com/Faraphel/Atlas-Install.git
synced 2025-07-04 11:48:22 +02:00
default amount of thread is now the amount of core instead of 8
This commit is contained in:
parent
c409b4b787
commit
e90e8bb8e6
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
import json
|
import json
|
||||||
|
import os
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from source.utils import restart_program
|
from source.utils import restart_program
|
||||||
|
@ -50,7 +51,7 @@ class Options:
|
||||||
|
|
||||||
self._options: dict[str, Option] = {
|
self._options: dict[str, Option] = {
|
||||||
"language": Option(self, value="en", reboot_on_change=True),
|
"language": Option(self, value="en", reboot_on_change=True),
|
||||||
"threads": Option(self, value=8),
|
"threads": Option(self, value=os.cpu_count()),
|
||||||
"mystuff_pack_selected": Option(self, value=None),
|
"mystuff_pack_selected": Option(self, value=None),
|
||||||
"mystuff_packs": Option(self, value={}),
|
"mystuff_packs": Option(self, value={}),
|
||||||
"extension": Option(self, value="WBFS"),
|
"extension": Option(self, value="WBFS"),
|
||||||
|
|
Loading…
Reference in a new issue