-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eecfe16
commit 0f3ec21
Showing
4 changed files
with
110 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Desktop Entry] | ||
Name=Habor | ||
Comment=Fedimint ecash desktop wallet for better bitcoin privacy | ||
Type=Application | ||
Keywords=bitcoin;lightning;ecash;privacy;tor;fedimint; | ||
Categories=Office;Finance; | ||
Exec=harbor-ui %U | ||
Icon=cash.harbor.harbor | ||
StartupWMClass=cash.harbor.harbor | ||
Terminal=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<component type="desktop-application"> | ||
<content_rating type="oars-1.1"> | ||
</content_rating> | ||
<id>cash.harbor.harbor</id> | ||
<metadata_license>MIT</metadata_license> | ||
<project_license>MIT</project_license> | ||
<name>Harbor</name> | ||
<summary>Harbor is an ecash desktop wallet for better bitcoin privacy.</summary> | ||
<description> | ||
<p> | ||
Harbor is an ecash desktop wallet for better bitcoin privacy. Use this tool to interact with ecash mints, | ||
moving money in and out using existing Bitcoin wallets. As you use mints, you may be able to increase the | ||
privacy of your money. Harbor also aims to demystify ecash mints for users and make them easier to use. | ||
</p> | ||
</description> | ||
<launchable type="desktop-id">cash.harbor.harbor.desktop</launchable> | ||
<url type="homepage">Harbor.cash</url> | ||
<url type="bugtracker">https://github.com/HarborWallet/harbor/issues</url> | ||
<screenshots> | ||
<screenshot type="default"> | ||
<caption>harbor logo</caption> | ||
<image> | ||
https://camo.githubusercontent.com/36432bbea8022f7f873a7e5fcf983ed4e3a84a8764be44b5eb2ab5e9056cbaf4/68747470733a2f2f626c6f672e6d7574696e7977616c6c65742e636f6d2f636f6e74656e742f696d616765732f73697a652f77323030302f323032342f30352f686172626f722d707265766965772e6a706567 | ||
</image> | ||
</screenshot> | ||
</screenshots> | ||
<developer_name>Harbor Wallet Devs</developer_name> | ||
<releases> | ||
<release version="0.2.0" | ||
date="2025-02-14"/> | ||
</releases> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#!/bin/bash | ||
|
||
ARCH="x86_64" | ||
TARGET="harbor" | ||
VERSION=$(cat VERSION) | ||
PROFILE="release" | ||
ASSETS_DIR="assets/linux" | ||
RELEASE_DIR="target/$PROFILE" | ||
BINARY="$RELEASE_DIR/$TARGET" | ||
ARCHIVE_DIR="$RELEASE_DIR/archive" | ||
ARCHIVE_NAME="$TARGET-$VERSION-$ARCH-linux.tar.gz" | ||
ARCHIVE_PATH="$RELEASE_DIR/$ARCHIVE_NAME" | ||
|
||
build() { | ||
cargo build --profile $PROFILE | ||
} | ||
|
||
archive_name() { | ||
echo $ARCHIVE_NAME | ||
} | ||
|
||
archive_path() { | ||
echo $ARCHIVE_PATH | ||
} | ||
|
||
package() { | ||
build | ||
|
||
install -Dm755 $BINARY -t $ARCHIVE_DIR/bin | ||
install -Dm644 $ASSETS_DIR/cash.harbor.harbor.appdata.xml -t $ARCHIVE_DIR/share/metainfo | ||
install -Dm644 $ASSETS_DIR/cash.harbor.harbor.desktop -t $ARCHIVE_DIR/share/applications | ||
cp -r $ASSETS_DIR/icons $ARCHIVE_DIR/share/ | ||
|
||
tar czvf $ARCHIVE_PATH -C $ARCHIVE_DIR . | ||
|
||
echo "Packaged archive: $ARCHIVE_PATH" | ||
} | ||
|
||
case "$1" in | ||
"package") package;; | ||
"archive_name") archive_name;; | ||
"archive_path") archive_path;; | ||
*) | ||
echo "avaiable commands: package, archive_name, archive_path" | ||
;; | ||
esac |