Install Psiphon3 VPN
This commit is contained in:
parent
3e7149f880
commit
12991439fa
21
src/main.rs
21
src/main.rs
|
@ -46,6 +46,9 @@ async fn main() -> Result<()> {
|
|||
|
||||
let minecraft_dir = swtools_path().join("minecraft");
|
||||
|
||||
let psiphon_dir = swtools_path().join("psiphon");
|
||||
let psiphon_bin = psiphon_dir.join("psiphon3.exe");
|
||||
|
||||
let utilities = [
|
||||
Pipeline::new(
|
||||
"Install Notepad++",
|
||||
|
@ -94,6 +97,24 @@ async fn main() -> Result<()> {
|
|||
},
|
||||
],
|
||||
),
|
||||
Pipeline::new(
|
||||
"Install Psiphon VPN",
|
||||
vec![
|
||||
Step::DownloadFile {
|
||||
file: psiphon_bin.as_path().into(),
|
||||
res: RemoteResource::Url(
|
||||
"https://s3.amazonaws.com/f58p-mqce-k1yj/psiphon3.exe",
|
||||
),
|
||||
},
|
||||
Step::CreateShortcut {
|
||||
target: ShortcutTarget::Executable {
|
||||
file: psiphon_bin.as_path().into(),
|
||||
args: "",
|
||||
},
|
||||
file: desktop_path().join("Psiphon3.lnk").into(),
|
||||
},
|
||||
],
|
||||
),
|
||||
Pipeline::new(
|
||||
"Install Minecraft (Java Edition)",
|
||||
vec![
|
||||
|
|
Loading…
Reference in New Issue