Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
c4412e8b
Commit
c4412e8b
authored
7 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Add desktop icons on the AppImage
parent
e4c8a555
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.ci/linux/deploy.sh
+20
-6
20 additions, 6 deletions
.ci/linux/deploy.sh
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
Makefile
+3
-0
3 additions, 0 deletions
Makefile
resources/nheko.desktop
+0
-1
0 additions, 1 deletion
resources/nheko.desktop
with
27 additions
and
7 deletions
.ci/linux/deploy.sh
+
20
−
6
View file @
c4412e8b
...
...
@@ -2,10 +2,22 @@
set
-e
mkdir
-p
appdir
cp
build/nheko appdir/
cp
resources/nheko.desktop appdir/
cp
resources/nheko
*
.png appdir/
APP
=
nheko
DIR
=
${
APP
}
.AppDir
# Set up AppImage structure.
mkdir
-p
${
DIR
}
/usr/
{
bin,share/pixmaps,share/applications
}
# Copy resources.
cp
build/nheko
${
DIR
}
/usr/bin
cp
resources/nheko.desktop
${
DIR
}
/usr/share/applications/nheko.desktop
cp
resources/nheko.png
${
DIR
}
/usr/share/pixmaps/nheko.png
for
iconSize
in
16 32 48 64 128 256 512
;
do
IconDir
=
${
DIR
}
/usr/share/icons/hicolor/
${
iconSize
}
x
${
iconSize
}
/apps
mkdir
-p
${
IconDir
}
cp
resources/nheko-
${
iconSize
}
.png
${
IconDir
}
/nheko.png
done
wget
-c
"https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod
a+x linuxdeployqt
*
.AppImage
...
...
@@ -14,7 +26,9 @@ unset QTDIR
unset
QT_PLUGIN_PATH
unset
LD_LIBRARY_PATH
./linuxdeployqt
*
.AppImage ./appdir/
*
.desktop
-bundle-non-qt-libs
./linuxdeployqt
*
.AppImage ./appdir/
*
.desktop
-appimage
./linuxdeployqt
*
.AppImage
\
${
DIR
}
/usr/share/applications/nheko.desktop
\
-bundle-non-qt-libs
\
-appimage
chmod
+x nheko-x86_64.AppImage
This diff is collapsed.
Click to expand it.
.gitignore
+
4
−
0
View file @
c4412e8b
...
...
@@ -78,3 +78,7 @@ result
*.dmg
dist/MacOS/nheko.app/Contents/MacOS/nheko
.clang
# AppImage
*.AppImage
*.AppDir
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
0
View file @
c4412e8b
...
...
@@ -15,6 +15,9 @@ test:
linux-appimage
:
@
./.ci/linux/deploy.sh
linux-install
:
cp
-f
nheko
*
.AppImage ~/.local/bin
macos-app
:
release-debug
@
./.ci/macos/deploy.sh
...
...
This diff is collapsed.
Click to expand it.
resources/nheko.desktop
+
0
−
1
View file @
c4412e8b
...
...
@@ -6,6 +6,5 @@ Exec=nheko
Icon=nheko
Type=Application
Categories=Network;InstantMessaging;Qt;
Encoding=UTF-8
StartupWMClass=nheko
Terminal=false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment