mirror of
https://github.com/45Drives/cockpit-navigator.git
synced 2025-07-30 00:55:30 +02:00
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
|
# Installation
|
||||||
## From Github Release
|
## From Github Release
|
||||||
### Ubuntu
|
### Ubuntu
|
||||||
1. `$ wget https://github.com/45Drives/cockpit-navigator/releases/download/v0.4/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.4-1focal_all.deb`
|
1. `# apt install ./cockpit-navigator_0.4.5-1focal_all.deb`
|
||||||
### EL7
|
### 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
|
### 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
|
## From Source
|
||||||
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
1. Ensure dependencies are installed: `cockpit`, `python3`, `rsync`, `zip`.
|
||||||
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
|
1. `$ git clone https://github.com/45Drives/cockpit-navigator.git`
|
||||||
|
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -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
|
cockpit-navigator (0.4.4-1focal) focal; urgency=medium
|
||||||
|
|
||||||
* Hide download option in right click context menu when no items
|
* Hide download option in right click context menu when no items
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Name: cockpit-navigator
|
Name: cockpit-navigator
|
||||||
Version: 0.4.4
|
Version: 0.4.5
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A File System Browser for Cockpit.
|
Summary: A File System Browser for Cockpit.
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
@ -32,6 +32,9 @@ rm -rf %{buildroot}
|
|||||||
/usr/share/cockpit/navigator/*
|
/usr/share/cockpit/navigator/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jun 10 2021 Josh Boudreau <jboudreau@45drives.com> 0.4.4-1
|
||||||
- Hide download option in right click context menu when no items
|
- Hide download option in right click context menu when no items
|
||||||
are explicitly selected.
|
are explicitly selected.
|
||||||
|
@ -1006,8 +1006,8 @@ class NavContextMenu {
|
|||||||
|
|
||||||
async download() {
|
async download() {
|
||||||
var download_target = "";
|
var download_target = "";
|
||||||
if (this.nav_window_ref.selected_entries.size === 1 && !(this.target instanceof NavDir)) {
|
if (this.nav_window_ref.selected_entries.size === 1 && !(this.nav_window_ref.selected_entry() instanceof NavDir)) {
|
||||||
download_target = this.target;
|
download_target = this.nav_window_ref.selected_entry();
|
||||||
} else {
|
} else {
|
||||||
this.nav_window_ref.start_load();
|
this.nav_window_ref.start_load();
|
||||||
var result;
|
var result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user