修复更新提示错误问题

This commit is contained in:
2025-10-17 12:27:40 +08:00
parent 91114bcc80
commit 92e307d3e5
3 changed files with 2 additions and 27 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "pixiv-manager", "name": "pixiv-manager",
"version": "1.0.5", "version": "1.0.6",
"private": true, "private": true,
"main": "backend/start.js", "main": "backend/start.js",
"bin": "backend/start.js", "bin": "backend/start.js",
-20
View File
@@ -34,26 +34,6 @@ async function createPortable(platform = 'win') {
await fs.copy(exePath, path.join(portableDir, exeName)); await fs.copy(exePath, path.join(portableDir, exeName));
} }
// 创建配置文件
const config = {
server: {
port: 3000,
autoOpenBrowser: true
},
proxy: {
port: null,
enabled: "auto"
},
logging: {
level: "INFO"
},
system: {
threadPoolSize: 16
}
};
await fs.writeFile(path.join(portableDir, 'config.json'), JSON.stringify(config, null, 2), 'utf8');
// 创建README // 创建README
let executableInstructions = ''; let executableInstructions = '';
if (platform === 'linux') { if (platform === 'linux') {
+1 -6
View File
@@ -63,7 +63,7 @@
<div class="instruction-step"> <div class="instruction-step">
<span class="step-number">1</span> <span class="step-number">1</span>
<span class="step-text">下载新版本的 <code>pixiv-manager-portable.rar</code> <span class="step-text">下载新版本的 <code>pixiv-manager-portable.rar</code>
文件</span> 文件如果是linux下载 <code>pixiv-manager-portable-linux.zip</code></span>
</div> </div>
<div class="instruction-step"> <div class="instruction-step">
<span class="step-number">2</span> <span class="step-number">2</span>
@@ -71,11 +71,6 @@
</div> </div>
<div class="instruction-step"> <div class="instruction-step">
<span class="step-number">3</span> <span class="step-number">3</span>
<span class="step-text"> <strong>重要</strong>重新检查 <code>start.bat</code>
中的代理端口和启动端口配置</span>
</div>
<div class="instruction-step">
<span class="step-number">4</span>
<span class="step-text">重新启动程序即可</span> <span class="step-text">重新启动程序即可</span>
</div> </div>
</div> </div>