Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
568d53e8
Commit
568d53e8
authored
Jun 28, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add hansoft-client
parent
3f7cdeb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
hansoft-client.sh
play.d/hansoft-client.sh
+17
-0
hansoft.sh
repack.d/hansoft.sh
+41
-0
No files found.
play.d/hansoft-client.sh
0 → 100755
View file @
568d53e8
#!/bin/sh
PKGNAME
=
hansoft
SUPPORTEDARCHES
=
"x86_64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Hansoft client from the official site"
.
$(
dirname
$0
)
/common.sh
# TODO
[
"
$VERSION
"
=
"*"
]
&&
VERSION
=
"11.1028"
VERSION
=
"
${
VERSION
/\./_
}
"
PKG
=
"https://cache.hansoft.com/hansoft_
${
VERSION
}
_x64.deb"
epm
install
$PKG
repack.d/hansoft.sh
0 → 100755
View file @
568d53e8
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
hansoft
PRODUCTCUR
=
Hansoft
.
$(
dirname
$0
)
/common.sh
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/
$PRODUCTCUR
add_bin_link_command
$PRODUCTCUR
$PRODUCT
mkdir
-p
usr/share/applications
cat
<<
EOF
>usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Actions=Newconnection;Logoutexitall;
Categories=Development;Office;
Exec=
$PRODUCT
-Url %u
Icon=
$PRODUCT
MimeType=x-scheme-handler/hansoft;
Name=Hansoft Client
Terminal=false
Type=Application
Version=1.0
[Desktop Action Newconnection]
Exec=
$PRODUCT
-NoAuto
Name=New connection
X-Hansoft-TaskType=Command
[Desktop Action Logoutexitall]
Exec=
$PRODUCT
-ExitAll
Name=Log out & exit all
X-Hansoft-TaskType=Command
EOF
pack_file /usr/share/applications/
$PRODUCT
.desktop
# copied from ~.local/share/icons/se.hansoft.Exe-PMClient_7B6AC2CBB8795205B8E6DC09CB75B5E6.png
i
=
256
install_file ipfs://QmbYM3wS2qXtWbUg9mASMPoJmgfL6smny1m3J4PfuiDtJR /usr/share/icons/hicolor/
${
i
}
x
${
i
}
/apps/
$PRODUCT
.png
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment