Package Details: watt-toolkit-bin 3.0.0.rc.13-1

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.016485
First Submitted: 2022-05-09 15:56 (UTC)
Last Updated: 2024-12-02 08:09 (UTC)

Pinned Comments

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 就是每次启动都得整一次

Latest Comments

1 2 3 4 5 6 Next › Last »

yifwon commented on 2024-11-28 11:42 (UTC) (edited on 2024-11-28 11:59 (UTC) by yifwon)

3.0.0.rc.12

You must install or update .NET to run this application.

App: /usr/lib/watt-toolkit/Steam++.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '9.0.0' (x64)
.NET location: /usr/share/dotnet/

The following frameworks were found:
  8.0.10 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=9.0.0&arch=x64&rid=arch-x64&os=arch

aspnet-runtime-bin, dotnet-host-bin and dotnet-runtime-bin with the version of 9.0.0 installed can solve the problem.

ZhangHua commented on 2024-08-16 13:37 (UTC)

@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 就好了 你的脚本将引入额外的运行时依赖,但是目标却是修正这个视觉问题,我觉得没必要被合并进这个仓库。不过还是给个置顶让需要的人自己改吧。

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)

打开网络加速会卡死

解决方案:

https://github.com/BeyondDimension/SteamTools/issues/3331#issuecomment-2095365914