BeyondDimension / BeyondDimension/SteamTools

🐛[BUG] Linux安装包中的script脚本存在问题

Open
#4,111 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
26.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

## 请认真检查以下清单中的每一项
- [x] 已经搜索过,没有发现类似的 issue
- [x] 已经搜索过文档,没有发现相关内容
- [x] 已经尝试使用过最新版,问题依旧存在
- [x] 使用的是官方版本(未替换及修改过安装目录程序文件)

### 🐛 描述

使用本地安装包,script下的部分脚本不可用

### 📷 复现步骤

解压好软件。然后运行script目录下的脚本。

### 📄 日志信息

hua@Redmibook:~/WattToolkit/script$ ls
environment_check.sh offline_init.sh uninstall.sh
init_desktop.sh online_install.sh
hua@Redmibook:~/WattToolkit/script$ bash offline_init.sh
offline_init.sh: 行 12: 警告: setlocale: LC_ALL: 无法改变区域设置 (en_US.UTF-8):没有那个文件或目录
certutil 工具已安装。
zenity 工具已安装。
jq 工具已安装。

Certificate Nickname Trust Attributes
SSL,S/MIME,JAR/XPI

SteamTools C,,
certutil nssdb 正常
程序 Steam++ 已成功终止。
程序 Watt Toolkit 已成功终止。
chmod: cannot access '/dotnet/dotnet': No such file or directory
chmod: cannot access './Steam++.sh': No such file or directory
This option is not available. Please see --help for all possible usages.
无效选项,请输入 1 或 2。
^C
hua@Redmibook:~/WattToolkit/script$ bash init_desktop.sh
init_desktop.sh: 行 14: /home/hua/Desktop/Watt Toolkit.desktop: 没有那个文件或目录
chmod: 无法访问 '/home/hua/Desktop/Watt Toolkit.desktop': 没有那个文件或目录

### 🖼 截图

无额外信息可供提供。

### 🚑 其他信息

- 处理器体系结构:amd64
- 系统版本号:Ubuntu 2404
- 下载渠道:Gitee
- 程序版本:3.1.0
- 是否包含独立运行时:不包含

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with script/offline_init.sh and script/init_desktop.sh, then inspect the other scripts in script/ for assumptions about paths, locale, installed tools, and the desktop directory. Run the affected scripts from an extracted Linux package on Ubuntu 24.04 and compare each reported failure with its expected behavior. Done means the package scripts run without the path, option, and desktop-file errors shown here.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
cli, operating-systems, release
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.