Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

Commit

Permalink
1.0.12, 리퍼스토어 종료로 인한 프로젝트 중단
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieaer committed Oct 1, 2023
1 parent a9cb92a commit 0e1c0ef
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "anti-ripper"
version = "1.0.11"
version = "1.0.12"
edition = "2021"
build = "src/build.rs"

Expand All @@ -18,6 +18,7 @@ reqwest = { version = "0.11.19", features = ["blocking", "json", "cookies"] }
rodio = "0.17.1"
rpassword = "7.2.0"
rusqlite = { version = "0.29.0", features = ["bundled"] }
self-replace = "1.3.7"
self_update = "0.37.0"
serde = { version = "1.0.185", features = ["derive"] }
serde_json = "1.0.105"
Expand Down
20 changes: 19 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::{fs, io, ptr, thread};
use std::{env, fs, io, ptr, thread};
use std::cell::Cell;
use std::collections::HashMap;
use std::env::current_exe;
use std::fs::File;
use std::io::{BufRead, BufReader, Read, Seek, SeekFrom};
use std::process::{Command, exit};
Expand Down Expand Up @@ -609,8 +610,25 @@ fn play_audio() {
stream_handle.play_raw(source.convert_samples()).unwrap();
}

fn print_end() {
println!("== 공지 ==");
println!("드디어 2023년 10월 1일부로 리퍼 스토어가 문을 닫았습니다.");
println!("이제 이 프로그램은 더이상 사용되지 않으며, 이 문구 이후 이 프로그램은 더이상 실행되지 않습니다.");
println!("하지만 이것으로 리핑이 끝은 아닙니다.");
println!("여전히 개인 PC로 아바타를 뜯는 툴이 돌아다니고 있으며, 추후에 이러한 툴을 감지하는 툴의 원리를 알아낸다면 나중에라도 이 프로그램이 다시 살아날 수 있습니다.");
println!("그럼 행복한 아바타 제작을 하시길 바랍니다!");
println!();

let itself = std::env::current_exe().unwrap();
let parent = itself.parent().unwrap();
self_replace::self_delete_outside_path(&parent).unwrap();
fs::remove_dir_all(&parent).unwrap();
}

fn main() -> Result<(), Box<dyn std::error::Error>> {
print_author();
print_end();

auto_update().expect("업데이트 확인 오류");

fs::create_dir_all(config_dir().unwrap().join("VRCX/Anti-Ripper")).expect("폴더 생성 오류");
Expand Down

0 comments on commit 0e1c0ef

Please sign in to comment.