Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news.d/bugfix/1842.core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
If plover_plugins does not have arguments, print available arguments and exit.
1 change: 1 addition & 0 deletions news.d/bugfix/1842.windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update Windows installer NSI to remove all files.
4 changes: 4 additions & 0 deletions plover/plugins_manager/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def list_plugins(freeze=False):
def main(args=None):
if args is None:
args = sys.argv[1:]
if not args:
print("Usage: plover_plugins <command> [args]")
print("Commands: list_plugins [--freeze], check, install, uninstall, list")
sys.exit(2)
if args[0] == "list_plugins":
assert len(args) <= 2
if len(args) > 1:
Expand Down
2 changes: 2 additions & 0 deletions windows/installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ SectionEnd
Section "Uninstall"

RMDir /r "$INSTDIR\data"
RMDir /r "$INSTDIR\hidapi-src"
Delete "$INSTDIR\LICENSE.txt"
Delete "$INSTDIR\plover.exe"
Delete "$INSTDIR\plover_console.exe"
Delete "$INSTDIR\vcruntime140.dll"
Delete "$INSTDIR\uninstall.exe"
RMDir "$INSTDIR"

Expand Down