if __name__ == '__main__':
if not ctypes.windll.shell32.IsUserAnAdmin():
print('Запусти от имени админа!')
sys.exit(1)
print('FlugerOptimizer =D')
print('Owner: DS - rvpamper')
print('V. 1.0')
while True:
print('1 - Очистить временные файлы')
print('2 - Управление автозагрузкой')
print('3 - Отключить ненужные службы')
print('4 - Проверить процессы')
print('5 - Очистить логи')
print('6 - Очистить корзину')
print('7 - Дефрагментация диска')
print('8 - Проверить системные файлы')
print('9 - Отключить визуальные эффекты')
print('10 - Очистить логи событий')
print('11 - Выход')
choice = input('Выбери: ')
if choice == '1':
clean_temp_files()
else: # inserted
if choice == '2':
manage_startup()
else: # inserted
if choice == '3':
disable_services()
else: # inserted
if choice == '4':
check_processes()
else: # inserted
if choice == '5':
clear_logs()
else: # inserted
if choice == '6':
clean_recycle_bin()
else: # inserted
if choice == '7':
defrag_disk()
else: # inserted
if choice == '8':
check_system_files()
else: # inserted
if choice == '9':
disable_visual_effects()
else: # inserted
if choice == '10':
clear_event_logs()
else: # inserted
if choice == '11':
print('Пока!')
print('Выбери 1-11')