Revert "Merge branch 'dev'"

This reverts commit 4a7dd7f959, reversing
changes made to a89a0cc1c6.
This commit is contained in:
onryo
2024-01-06 16:27:48 +01:00
parent 4a7dd7f959
commit 3c2414028b
127 changed files with 1747 additions and 770 deletions

View File

@@ -1,7 +1,7 @@
[Desktop Entry]
Version=1.0
Name=SilentDragonLite
Comment=Lite wallet for HUSH cryptocurrency
Comment=Full-node wallet for HUSH cryptocurrency
Exec=/home/user/SilentDragonLite/SilentDragonLite
Icon=/home/user/SilentDragonLite/res/SDLogo.png
Terminal=false

View File

@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2019-2024 The Hush Developers
# Copyright 2019-2023 The Hush Developers
username=$(id -un)
sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop

View File

@@ -1,10 +1,12 @@
#!/bin/bash
# Copyright 2019-2024 The Hush Developers
# Copyright 2019-2023 The Hush Developers
cd ../ && ./build.sh linguist && ./build.sh
# should be better
username=$(id -un)
cd util/ && sed -i "s|\/home\/.*\/SilentDragonLite\/|\/home\/$username\/SilentDragonLite\/|g" SilentDragonLite.desktop
cp SilentDragonLite.desktop ~/.local/share/applications
# might be /usr/share/applications/ that requires sudo

View File

@@ -1,5 +1,5 @@
#!/usr/bin/perl
# Copyright (c) 2016-2024 The Hush developers
# Copyright (c) 2016-2023 The Hush developers
# Distributed under the GPLv3 software license, see the accompanying
# file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html

View File

@@ -1,22 +1,10 @@
#!/usr/bin/env bash
# Copyright (c) 2016-2024 The Hush developers
# Copyright (c) 2016-2023 The Hush developers
# Released under the GPLv3
# Usage: update-copyrights.sh 2024 2025
# Usage: update-copyrights.sh 2021 2022
# TODO: verify $1 and $2 exist
if ! command -v ack &> /dev/null
then
echo "ack could not be found. Please install it and try again."
exit 1
fi
if ! command -v xargs &> /dev/null
then
echo "xargs could not be found. Please install it and try again."
exit 1
fi
# TODO: verify ack and xargs exist on this system
# This update comments in source code
ack -l -i "20..-20..*Hush dev" | xargs ./util/replace.pl -$1 -$2