Skip to content

Commit f574257

Browse files
committed
Remove install_performance flag
1 parent 04b8783 commit f574257

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

bin/auto-cpufreq

+1-14
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ from auto_cpufreq.power_helper import *
2121
@click.option("--install", is_flag=True, help="Install daemon for (permanent) automatic CPU optimizations")
2222
@click.option("--remove", is_flag=True, help="Remove daemon for (permanent) automatic CPU optimizations")
2323

24-
@click.option("--install_performance", is_flag=True, help="Install daemon in \"performance\" mode, reference:\n https://bit.ly/3bjVZW1")
2524
@click.option("--stats", is_flag=True, help="View live stats of CPU optimizations made by daemon")
2625
@click.option("--force", is_flag=False, help="Force use of either \"powersave\" or \"performance\" governors. Setting to \"reset\" will go back to normal mode")
2726
@click.option("--get-state", is_flag=True, hidden=True)
@@ -36,7 +35,7 @@ from auto_cpufreq.power_helper import *
3635
@click.option("--donate", is_flag=True, help="Support the project")
3736
@click.option("--log", is_flag=True, hidden=True)
3837
@click.option("--daemon", is_flag=True, hidden=True)
39-
def main(config, daemon, debug, install, remove, install_performance, live, log, monitor, stats, version, donate, force, get_state):
38+
def main(config, daemon, debug, install, remove, live, log, monitor, stats, version, donate, force, get_state):
4039

4140
# display info if config file is used
4241
def config_info_dialog():
@@ -185,18 +184,6 @@ def main(config, daemon, debug, install, remove, install_performance, live, log,
185184
print("Show your appreciation by donating!")
186185
print("https://github.com/AdnanHodzic/auto-cpufreq/#donate")
187186
footer()
188-
elif install_performance:
189-
if os.getenv("PKG_MARKER") == "SNAP":
190-
root_check()
191-
print("\nThis option is only available on non Snap installs.\n\n"
192-
"Please refer to auto-cpufreq power_helper.py script for more info\n"
193-
"Reference: https://github.com/AdnanHodzic/auto-cpufreq#configuring-auto-cpufreq\n")
194-
else:
195-
root_check()
196-
running_daemon_check()
197-
gov_check()
198-
deploy_daemon_performance()
199-
deploy_complete_msg()
200187
elif install:
201188
if os.getenv("PKG_MARKER") == "SNAP":
202189
root_check()

0 commit comments

Comments
 (0)