Merge changes for v0.4.5
This commit is contained in:
commit
954d5437a7
|
@ -23,12 +23,12 @@ With no command line use needed, you can:
|
|||
# Installation
|
||||
## From Github Release
|
||||
### Ubuntu
|
||||
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.4-1focal_all.deb`
|
||||
1. `# apt install ./cockpit-navigator_0.4.4-1focal_all.deb`
|
||||
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator_0.4.5-1focal_all.deb`
|
||||
1. `# apt install ./cockpit-navigator_0.4.5-1focal_all.deb`
|
||||
### EL7
|
||||
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.4-1.el7.noarch.rpm`
|
||||
1. `# yum install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.5-1.el7.noarch.rpm`
|
||||
### EL8
|
||||
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.4-1.el8.noarch.rpm`
|
||||
1. `# dnf install https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/cockpit-navigator-0.4.5-1.el8.noarch.rpm`
|
||||
## From Source
|
||||
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
||||
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
|
||||
|
|
|
@ -1,3 +1,10 @@
|
|||
cockpit-navigator (0.4.5-1focal) focal; urgency=medium
|
||||
|
||||
* Fix downloading a single file when the contextmenu
|
||||
event target is not the file.
|
||||
|
||||
-- Josh Boudreau <jboudreau@45drives.com> Thu, 17 Jun 2021 10:23:00 -0300
|
||||
|
||||
cockpit-navigator (0.4.4-1focal) focal; urgency=medium
|
||||
|
||||
* Hide download option in right click context menu when no items
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Name: cockpit-navigator
|
||||
Version: 0.4.4
|
||||
Version: 0.4.5
|
||||
Release: 1%{?dist}
|
||||
Summary: A File System Browser for Cockpit.
|
||||
License: GPL-3.0+
|
||||
|
@ -32,6 +32,9 @@ rm -rf %{buildroot}
|
|||
/usr/share/cockpit/navigator/*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 17 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.5-1
|
||||
- Fix downloading a single file when the contextmenu
|
||||
event target is not the file.
|
||||
* Thu Jun 10 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.4-1
|
||||
- Hide download option in right click context menu when no items
|
||||
are explicitly selected.
|
||||
|
|
|
@ -1006,8 +1006,8 @@ class NavContextMenu {
|
|||
|
||||
async download() {
|
||||
var download_target = "";
|
||||
if (this.nav_window_ref.selected_entries.size === 1 && !(this.target instanceof NavDir)) {
|
||||
download_target = this.target;
|
||||
if (this.nav_window_ref.selected_entries.size === 1 && !(this.nav_window_ref.selected_entry() instanceof NavDir)) {
|
||||
download_target = this.nav_window_ref.selected_entry();
|
||||
} else {
|
||||
this.nav_window_ref.start_load();
|
||||
var result;
|
||||
|
|
Loading…
Reference in New Issue