Skip to content

Commit

Permalink
remove download plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Apr 28, 2024
1 parent 39fd56c commit b349476
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 244 deletions.
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[workspace]
members = ["crates/*"]
exclude = ["crates/nsis-download"]
resolver = "2"

[workspace.package]
Expand Down
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

A collection of NSIS plugins written in rust.

| Plugin | Description |
|---|---|
| [nsis-download](./crates/nsis-download/) | Download a file from an URL to a path |
| [nsis-process](./crates/nsis-process/) | Find and Kill processes |
| [nsis-semvercompare](./crates/nsis-semvercompare/) | Compare two semantic versions |
| [nsis-tauri-utils](./crates/nsis-tauri-utils/) | A collection of all the above plugins into a single DLL for smaller size |
| Plugin | Description |
| -------------------------------------------------- | ------------------------------------------------------------------------ |
| [nsis-process](./crates/nsis-process/) | Find and Kill processes |
| [nsis-semvercompare](./crates/nsis-semvercompare/) | Compare two semantic versions |
| [nsis-tauri-utils](./crates/nsis-tauri-utils/) | A collection of all the above plugins into a single DLL for smaller size |

## License

Apache-2.0/MIT
Apache-2.0/MIT
16 changes: 0 additions & 16 deletions crates/nsis-download/CHANGELOG.md

This file was deleted.

15 changes: 0 additions & 15 deletions crates/nsis-download/Cargo.toml

This file was deleted.

199 changes: 0 additions & 199 deletions crates/nsis-download/src/lib.rs

This file was deleted.

9 changes: 3 additions & 6 deletions demo.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ ShowInstDetails show
Section
nsis_semvercompare::SemverCompare "1.0.0" "1.1.0"
Pop $1
DetailPrint $1
DetailPrint "SemverCompare(1.0.0, 1.1.0): $1"
nsis_process::FindProcess "explorer.exe"
Pop $1
DetailPrint $1
DetailPrint "FindProcess(explorer.exe): $1"
nsis_process::FindProcess "abcdef.exe"
Pop $1
DetailPrint $1
; nsis_download::Download "https://go.microsoft.com/fwlink/p/?LinkId=2124703" "wv2setup.exe"
; Pop $1
; DetailPrint $1
DetailPrint "FindProcess(abcdef.exe): $1"
SectionEnd

0 comments on commit b349476

Please sign in to comment.