Install Psiphon3 VPN

This commit is contained in:
Michael Pfaff 2022-06-10 13:16:30 -04:00
parent 3e7149f880
commit 12991439fa
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 21 additions and 0 deletions

View File

@ -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![