Fix crash on startup
This commit is contained in:
parent
6cee5f0888
commit
fe8b27d18c
4 changed files with 9 additions and 5 deletions
|
@ -72,7 +72,7 @@ Page {
|
|||
AboutLabel {
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
color: Theme.secondaryColor
|
||||
text: qsTr("Version") + " 2.1-1"
|
||||
text: qsTr("Version") + " 2.1-2"
|
||||
}
|
||||
|
||||
AboutLabel {
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
* Sat Mar 21 2020 Matti Viljanen (direc85) <matti.viljanen@kapsi.fi> 2.1-2
|
||||
- Fix crash on startup after upgrade
|
||||
- Fix missing systemd service after upgrade
|
||||
|
||||
* Sat Mar 21 2020 Matti Viljanen (direc85) <matti.viljanen@kapsi.fi> 2.1-1
|
||||
- Add landscape orientation support
|
||||
- Update Chinese translation (thanks, dashinfantry)
|
||||
|
|
|
@ -14,7 +14,7 @@ Name: harbour-batterybuddy
|
|||
%{?qtc_builddir:%define _builddir %qtc_builddir}
|
||||
Summary: Battery Buddy
|
||||
Version: 2.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Group: Qt/Qt
|
||||
License: LICENSE
|
||||
URL: http://example.org/
|
||||
|
@ -70,10 +70,10 @@ desktop-file-install --delete-original \
|
|||
# >> files
|
||||
# << files
|
||||
|
||||
%post
|
||||
%posttrans
|
||||
systemctl disable --now harbour-batterybuddy.service
|
||||
cp %{_datadir}/%{name}/service/harbour-batterybuddy.service /etc/systemd/system/
|
||||
chmod 755 %{_datadir}/%{name}/service/*.sh
|
||||
systemctl disable --now harbour-batterybuddy.service
|
||||
systemctl enable --now harbour-batterybuddy.service
|
||||
|
||||
%postun
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
# Author: Matti Viljanen
|
||||
|
||||
[Unit]
|
||||
Description=Allow user nemo to write to charging control file
|
||||
Description=Battery Buddy file permission daemon
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
Loading…
Reference in a new issue