This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Binary file hex editor Log: add software name--hexed
- Loading branch information
Showing
2 changed files
with
75 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package: | ||
id: io.github.hexed | ||
name: hexed | ||
version: 1.2.1 | ||
kind: app | ||
description: | | ||
Binary file hex editor | ||
runtime: | ||
id: org.deepin.Runtime | ||
version: 23.0.0 | ||
|
||
depends: | ||
- id: qtscript/5.15.7 | ||
type: runtime | ||
|
||
source: | ||
kind: git | ||
url: https://github.com/pgeorgiev98/hexed.git | ||
commit: dfe9e3e69b7c0d642b3a9b4b1a51f764d8339199 | ||
patch: patches/0001-install.patch | ||
|
||
build: | ||
kind: qmake |
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,51 @@ | ||
From 0ecceb2a8083f0ba2d79bdb89959800c92b2da00 Mon Sep 17 00:00:00 2001 | ||
From: wjyrich <[email protected]> | ||
Date: Sun, 12 May 2024 10:58:29 +0800 | ||
Subject: [PATCH] install | ||
|
||
--- | ||
app/app.pro | 10 +++++++++- | ||
app/res/hexed.desktop | 9 +++++++++ | ||
2 files changed, 18 insertions(+), 1 deletion(-) | ||
create mode 100644 app/res/hexed.desktop | ||
|
||
diff --git a/app/app.pro b/app/app.pro | ||
index cbf0836..73fa1a9 100644 | ||
--- a/app/app.pro | ||
+++ b/app/app.pro | ||
@@ -51,7 +51,15 @@ RESOURCES += res/resources.qrc | ||
|
||
# Default rules for deployment. | ||
qnx: target.path = /tmp/$${TARGET}/bin | ||
-else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
+else: unix:!android: #target.path = /opt/$${TARGET}/bin | ||
!isEmpty(target.path): INSTALLS += target | ||
|
||
win32:RC_ICONS = res/icon.ico | ||
+ | ||
+target.path =$$PREFIX/bin | ||
+desktop.files =res/hexed.desktop | ||
+desktop.path = $$PREFIX/share/applications/ | ||
+icons.path = $$PREFIX/share/icons/hicolor/scalable/apps | ||
+icons.files = res/dark/cross.svg | ||
+ | ||
+INSTALLS += target desktop icons | ||
diff --git a/app/res/hexed.desktop b/app/res/hexed.desktop | ||
new file mode 100644 | ||
index 0000000..cb75bc4 | ||
--- /dev/null | ||
+++ b/app/res/hexed.desktop | ||
@@ -0,0 +1,9 @@ | ||
+[Desktop Entry] | ||
+Exec=hexed | ||
+Name=hexed | ||
+Icon=cross | ||
+StartupNotify=false | ||
+Categories=Accessibility;Qt;Utility; | ||
+Type=Application | ||
+Comment=Binary file hex editor | ||
+Version=1.2.1 | ||
\ No newline at end of file | ||
-- | ||
2.33.1 | ||
|