Conversation
|
There is now a common function to get user account, then you can use it to get home. |
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Also remove steam_dir before mv operation. Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
This is assumed from rsetup init code. Signed-off-by: ZHANG Yuntian <yt@radxa.com>
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
7ca3725 to
4b92694
Compare
Signed-off-by: ZHANG Yuntian <yt@radxa.com>
RadxaYuntian
left a comment
There was a problem hiding this comment.
Currently I can install steam with following commands:
sudo --preserve-env=https_proxy apt update
sudo --preserve-env=https_proxy apt install -y jq
cat << EOF >steam.sh
set -e
$(curl -Ls "https://raw.githubusercontent.com/RadxaPanda/rsetup/main/src/usr/lib/rsetup/cli/steam.sh")
__parameter_count_check() {
:
}
set -x
install_steam
EOF
sudo --preserve-env=https_proxy bash ./steam.shRunning winecfg resulted in following error:
radxa@rock-5-itx:~$ wine winecfg
Box86 with Dynarec v0.3.7 fcbebfa8 built on Jul 7 2024 01:13:25
Error: file is not found (check BOX86_PATH)steam can be launched from terminal.
|
After steam installer unpacked, there is a missing dependency of |
Now with my latest commit |
|
Also what is the complete installation process? Run the script then manually with |
Issue was caused by not properly escaping $@ in the script (was being set to nothing) |
Co-authored-by: ZHANG Yuntian <yt@radxa.com>
|
@CodeChenL please check if you can install and launch Steam & some Windows games successfully. No need to test uninstall. |
CodeChenL
left a comment
There was a problem hiding this comment.
Native and proton translations work fine, but performance is low, only some 2D games with low resolution can be played.Like terraria.
Co-authored-by: CodeChenL <43897062+CodeChenL@users.noreply.github.com>
When i tried this on panfork i was getting better performance than on panthor |
|
This should be able to be merged |
|
Right now the functionality is tested, but the code still needs more clean up before it can be merged. |
|
My commit message is bad |
| install_box64() { | ||
| curl -Ls https://ryanfortner.github.io/box64-debs/box64.list > /etc/apt/sources.list.d/box64.list | ||
| curl -Ls https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/box64-debs-archive-keyring.gpg | ||
| apt-get update -y && apt-get install -y box64-rk3588 |
There was a problem hiding this comment.
This can be listed in Depends of the repackaged steam.
| install_box86() { | ||
| curl -Ls https://itai-nelken.github.io/weekly-box86-debs/debian/box86.list > /etc/apt/sources.list.d/box86.list | ||
| curl -Ls https://itai-nelken.github.io/weekly-box86-debs/debian/KEY.gpg | gpg --dearmor --batch --yes -o /etc/apt/trusted.gpg.d/box86-debs-archive-keyring.gpg | ||
| apt-get update -y && apt-get install -y box86 |
There was a problem hiding this comment.
This can be listed in Depends of the repackaged steam.
| wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb | ||
| ar x steam.deb | ||
| tar xf data.tar.xz | ||
|
|
||
| # move deb contents to steam folder | ||
| mv ./usr/* "$steam_dir" | ||
| popd || return 1 | ||
| rm -rf "$temp_dir" |
There was a problem hiding this comment.
Those can be the content of the repackaged steam. Can we still install steam under say /usr/lib/x86_64-linux-gnu?
There was a problem hiding this comment.
Definitely can but then ull need to rebuild once in a while I think but it should be fine
| wine_pkg="$(sudo -u "$(logname)" mktemp -d)" | ||
| pushd "$wine_pkg" || return 1 | ||
| latest_version="$(basename "$(curl -ILs -o /dev/null -w "%{url_effective}" https://github.com/Kron4ek/Wine-Builds/releases/latest)")" | ||
| curl -Lso "wine-$latest_version-x86.tar.xz" "https://github.com/Kron4ek/Wine-Builds/releases/download/$latest_version/wine-$latest_version-x86.tar.xz" |
There was a problem hiding this comment.
Make a wine package and install under /usr/lib/x86_64-linux-gnu as well
No description provided.