parent
3b31b7fd29
commit
9193c16090
1 changed files with 2 additions and 1 deletions
|
|
@ -4,9 +4,10 @@ import subprocess
|
||||||
|
|
||||||
from borrowed import acpi
|
from borrowed import acpi
|
||||||
from functions.common import *
|
from functions.common import *
|
||||||
|
from os import environ
|
||||||
|
|
||||||
# Variables
|
# Variables
|
||||||
SLMGR = r'{}\System32\slmgr.vbs'.format(global_vars['Env']['SYSTEMROOT'])
|
SLMGR = r'{}\System32\slmgr.vbs'.format(environ.get('SYSTEMROOT'))
|
||||||
|
|
||||||
def activate_with_bios():
|
def activate_with_bios():
|
||||||
"""Attempt to activate Windows with a key stored in the BIOS."""
|
"""Attempt to activate Windows with a key stored in the BIOS."""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue