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
Builder Robot
eepm
Commits
e550be4d
Commit
e550be4d
authored
Dec 17, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add claude-desktop
parent
ad319e91
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
94 additions
and
0 deletions
+94
-0
claude-desktop.sh
pack.d/claude-desktop.sh
+37
-0
claude-desktop.sh
play.d/claude-desktop.sh
+27
-0
claude-desktop.sh
repack.d/claude-desktop.sh
+30
-0
No files found.
pack.d/claude-desktop.sh
0 → 100644
View file @
e550be4d
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
VERSION
=
"
$3
"
.
$(
dirname
$0
)
/common.sh
PKGNAME
=
$PRODUCT
-
$VERSION
.tar
PRODUCTDIR
=
/opt/eepm-wine/
$PRODUCT
INSTALLER
=
"
$(
basename
"
$TAR
"
)
"
mkdir
-p
.
$PRODUCTDIR
/
# c:/users/lav/AppData/Local/AnthropicClaude/claude.exe
cat
<<
EOF
> .
$PRODUCTDIR
/run.sh
#!/bin/sh
# AppData\Roaming
# APPDATA=\
$(
wine cmd /c
echo
%appdata% |
tr
-d
'\r'
)
# AppData\Local
LOCALAPPDATA="\
$(
wine cmd /c
echo
%localappdata% |
tr
-d
'\r'
)
"
RUNFILE="\
$LOCALAPPDATA
\\\\AnthropicClaude\\\\claude.exe"
URUNFILE="\
$(
winepath
-u
"
\$
RUNFILE"
)
"
if [ ! -f "\
$URUNFILE
" ] ; then
INSTALLER="
$PRODUCTDIR
/
$INSTALLER
"
exec wine "\
$INSTALLER
"
fi
exec wine "\
$RUNFILE
" "\
$@
"
EOF
chmod
755 .
$PRODUCTDIR
/run.sh
cp
$TAR
.
$PRODUCTDIR
erc pack
$PKGNAME
opt/eepm-wine
return_tar
$PKGNAME
play.d/claude-desktop.sh
0 → 100755
View file @
e550be4d
#!/bin/sh
PKGNAME
=
claude-desktop
SUPPORTEDARCHES
=
"x86_64 aarch64"
VERSION
=
"
$2
"
DESCRIPTION
=
"Claude Desktop (Wine based)"
URL
=
"https://claude.com/download"
.
$(
dirname
$0
)
/common.sh
if
!
is_command wine
;
then
epm play wine
||
fatal
fi
warn_version_is_not_supported
#https://claude.ai/redirect/claudedotcom.v1.1029bab3-186e-4985-87e7-b2a711d887b4/api/desktop/win32/arm64/exe/latest/redirect
#https://claude.ai/redirect/claudedotcom.v1.1029bab3-186e-4985-87e7-b2a711d887b4/api/desktop/win32/x64/exe/latest/redirect
# https://claude.ai/api/desktop/win32/x64/exe/latest/redirect
# https://claude.ai/api/desktop/win32/arm64/exe/latest/redirect
VERSION
=
"1.1029"
#PKGURL="https://storage.googleapis.com/osprey-downloads-c02f6a0d-347c-492b-a752-3e0651722e97/nest-win-x64/Claude-Setup-x64.exe"
PKGURL
=
"ipfs://Qme1jkcU95P5dCWTs5sMxsvUruBfaVQMrAhY2585AfsoVJ?filename=Claude-Setup-x64.exe"
install_pack_pkgurl
$VERSION
repack.d/claude-desktop.sh
0 → 100644
View file @
e550be4d
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
PRODUCT
=
claude-desktop
PRODUCTDIR
=
/opt/eepm-wine/
$PRODUCT
.
$(
dirname
$0
)
/common.sh
add_requires
'/usr/bin/wine'
add_bin_link_command
$PRODUCT
$PRODUCTDIR
/run.sh
cat
<<
EOF
| create_file /usr/share/applications/
$PRODUCT
.desktop
[Desktop Entry]
Name=Claude Desktop
Exec=
$PRODUCT
%u
Type=Application
StartupNotify=true
Icon=
$PRODUCT
StartupWMClass=claude.exe
Categories=Wine;Network;InstantMessaging;
MimeType=x-scheme-handler/claude;
EOF
# copied from .local/share/icons/hicolor/256x256/apps/84BD_claude.0.png
i
=
256
install_file ipfs://QmbnRtSF3e5dENA6TGKADxpzNXMF5vV1UDaRGrKsQXu4xZ /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