@detian https://github.com/BeyondDimension/SteamTools/blob/3.0.0-rc.9/src/BD.WTTS.Client.Avalonia.App/BD.WTTS.Client.Avalonia.App.csproj 这里看起来他们只给 Windows 的应用设置了 ApplicationIcon https://github.com/AvaloniaUI/Avalonia/issues/5329 按这里的说法设置了 ApplicationIcon 就好了 你的脚本将引入额外的运行时依赖,但是目标却是修正这个视觉问题,我觉得没必要被合并进这个仓库。不过还是给个置顶让需要的人自己改吧。
Search Criteria
Package Details: watt-toolkit-bin 3.0.0.rc.11-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/watt-toolkit-bin.git (read-only, click to copy) |
---|---|
Package Base: | watt-toolkit-bin |
Description: | 一个开源跨平台的多功能Steam工具箱。 |
Upstream URL: | https://steampp.net/ |
Keywords: | steam steam++ watt-toolkit |
Licenses: | GPL-3.0-only |
Conflicts: | steam++, watt-toolkit |
Provides: | steam++, watt-toolkit |
Submitter: | ZhangHua |
Maintainer: | ZhangHua |
Last Packager: | ZhangHua |
Votes: | 10 |
Popularity: | 0.021475 |
First Submitted: | 2022-05-09 15:56 (UTC) |
Last Updated: | 2024-09-26 09:26 (UTC) |
Dependencies (20)
- aspnet-runtime-8.0 (aspnet-runtime-8.0-binAUR, aspnet-runtime)
- brotli (brotli-gitAUR)
- bzip2 (bzip2-gitAUR)
- dotnet-runtime-8.0 (dotnet-runtime-8.0-binAUR, dotnet-runtime)
- expat (expat-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-macosAUR, freetype2-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- graphite (graphite-gitAUR)
- harfbuzz (harfbuzz-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- libcap
- libpng (libpng-gitAUR, libpng-apngAUR)
- nss (nss-hgAUR)
- pcre2 (pcre2-gitAUR)
- sh (dashbinshAUR, bash-devel-static-gitAUR, zshbinshAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR, bash)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- steam (optional) – need official or flatpak version of steam
Required by (0)
Sources (4)
ZhangHua commented on 2024-08-16 13:37 (UTC)
detian commented on 2024-08-16 13:16 (UTC)
调整后的启动脚本
#!/usr/bin/env bash
Class="Steam++"
Image="/usr/share/icons/hicolor/512x512/apps/watt-toolkit.png"
dotnet "/usr/lib/watt-toolkit/${Class}.dll" "$@" & PID=$!
timeout 10 xdotool search --sync --all --pid "$(pgrep -P $PID)" --class "${Class}" \
exec xseticon -class "${Class}" "${Image}" &
wait $PID
detian commented on 2024-08-16 11:37 (UTC)
找到了个方法,修改窗口的图标
xseticon -class Steam++ /usr/share/icons/hicolor/512x512/apps/watt-toolkit.png
https://aur.archlinux.org/packages/xseticon-detiam
就是每次启动都得整一次
cmach_socket commented on 2024-05-31 10:46 (UTC)
之前使用的是3.0.0.rc-8.2
刚刚重装了一遍,问题消失了
可能是直接升级导致的?
ZhangHua commented on 2024-05-26 00:37 (UTC)
@cmach_socket 这似乎是因为对加速器主程序进行 strip 导致.net 认为这个文件受损,3.0.0.rc.8-2 已经通过加入 !strip 选项让 makepkg 不自动 strip,然后跳过加速器主程序手动 strip 其他部分绕过这个问题了。你可能需要检查一下你使用的是不是 3.0.0.rc.8-2 这个版本?
你可以看 https://bbs.archlinux.org/viewtopic.php?id=257600 解决,这个帖子里面的应用也是 .net 写的,但是 watt-toolkit 和它有些不一样,watt-toolkit 的加速器部分是属于 -p:PublishSingleFile=true 的而整个程序又是 -p:PublishSingleFile=false 的,因此watt-toolkit 的 PKGBUILD 里面 staticlibs 和 !strip 两个选项都有
cmach_socket commented on 2024-05-25 18:08 (UTC)
@ZhangHua
以下是终端输出:
文件具有执行权限。 Failure processing application bundle; possible file corruption. Arithmetic overflow while reading bundle. A fatal error occurred while processing application bundle
ZhangHua commented on 2024-05-19 07:49 (UTC)
@cmach_socket 请给出终端的日志输出,我这里 3.0.0.rc.8-2 似乎无法复现?
cmach_socket commented on 2024-05-17 10:44 (UTC)
Harryhaha commented on 2024-05-01 12:49 (UTC)
网络加速无法使用
Pinned Comments
detian commented on 2024-08-16 13:16 (UTC)
调整后的启动脚本
detian commented on 2024-08-16 11:37 (UTC)
找到了个方法,修改窗口的图标
xseticon -class Steam++ /usr/share/icons/hicolor/512x512/apps/watt-toolkit.png
https://aur.archlinux.org/packages/xseticon-detiam 就是每次启动都得整一次