Merge branch 'next' of https://github.com/an-anime-team/an-anime-game-launcher into next
This commit is contained in:
commit
23c611a875
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ components-index-updated = Index komponen baru saja diperbarui
|
|||
launch = Luncurkan
|
||||
migrate-folders = Pindahkan folder
|
||||
migrate-folders-tooltip = Perbarui struktur folder game
|
||||
apply-patch = Terapkan patch
|
||||
apply-patch = Terapkan patch
|
||||
disable-telemetry = Nonaktifkan telemetri
|
||||
download-wine = Unduh wine
|
||||
create-prefix = Buat prefix
|
||||
|
|
|
@ -23,7 +23,7 @@ pub fn disable_telemetry(sender: ComponentSender<App>) {
|
|||
let output = Command::new("pkexec")
|
||||
.arg("sh")
|
||||
.arg("-c")
|
||||
.arg(format!("echo \"\\n{telemetry}\\n\" >> /etc/hosts"))
|
||||
.arg(format!("echo -e \"\\n{telemetry}\\n\" >> /etc/hosts"))
|
||||
.spawn();
|
||||
|
||||
match output.and_then(|child| child.wait_with_output()) {
|
||||
|
|
Loading…
Reference in a new issue