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
50034185
Commit
50034185
authored
Mar 26, 2024
by
Иван Мажукин
Committed by
Vitaly Lipatov
Mar 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add sidequest
parent
63930e22
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
0 deletions
+76
-0
sidequest.sh
pack.d/sidequest.sh
+47
-0
sidequest.sh
play.d/sidequest.sh
+12
-0
sidequest.sh
repack.d/sidequest.sh
+17
-0
No files found.
pack.d/sidequest.sh
0 → 100755
View file @
50034185
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
# SideQuest-0.10.39.tar.xz
BASENAME
=
$(
basename
$TAR
.tar.xz
)
VERSION
=
$(
echo
$BASENAME
|
sed
-e
's|SideQuest-||'
|
sed
-e
's|.tar.xz||'
)
[
-n
"
$VERSION
"
]
||
fatal
"Can't get package version"
ln
-s
$TAR
$BASENAME
.tar.xz
erc unpack
$BASENAME
.tar.xz
||
fatal
mkdir
-p
opt
mkdir
-p
usr/share/applications/
mv
$BASENAME
/ opt/sidequest
for
res
in
16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512 1024x1024
;
do
install
-dm644
"usr/share/icons/hicolor/
${
res
}
/apps/"
cp
opt/sidequest/resources/app.asar.unpacked/build/icons/
${
res
}
.png usr/share/icons/hicolor/
${
res
}
/apps/sidequest.png
done
# create desktop file
cat
<<
EOF
> usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=SideQuest
Comment=The SideQuest desktop application
Exec=
$PRODUCT
%U
Icon=
$PRODUCT
Terminal=false
StartupNotify=true
Categories=Development;Game;HardwareSettings
StartupWMClass=SideQuest
MimeType=x-scheme-handler/sidequest;
EOF
PKGNAME
=
$PRODUCT
-
$VERSION
erc pack
$PKGNAME
.tar opt usr
||
fatal
return_tar
$PKGNAME
.tar
play.d/sidequest.sh
0 → 100755
View file @
50034185
#!/bin/sh
PKGNAME
=
sidequest
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
'The SideQuest desktop application'
URL
=
"https://sidequestvr.com/"
.
$(
dirname
$0
)
/common.sh
PKGURL
=
$(
epm tool eget
--list
--latest
"https://github.com/SideQuestVR/SideQuest/releases/"
"*.tar.xz"
)
||
fatal
"Can't get package URL"
epm pack
--install
$PKGNAME
"
$PKGURL
"
repack.d/sidequest.sh
0 → 100755
View file @
50034185
#!/bin/sh -x
# It will be run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common-chromium-browser.sh
add_bin_link_command
fix_chrome_sandbox
add_electron_deps
# fix_desktop_file
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