修复更新提示错误问题
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pixiv-manager",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"private": true,
|
||||
"main": "backend/start.js",
|
||||
"bin": "backend/start.js",
|
||||
|
||||
@@ -34,26 +34,6 @@ async function createPortable(platform = 'win') {
|
||||
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
|
||||
let executableInstructions = '';
|
||||
if (platform === 'linux') {
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
<div class="instruction-step">
|
||||
<span class="step-number">1</span>
|
||||
<span class="step-text">下载新版本的 <code>pixiv-manager-portable.rar</code>
|
||||
文件</span>
|
||||
文件(如果是linux,下载 <code>pixiv-manager-portable-linux.zip</code>)</span>
|
||||
</div>
|
||||
<div class="instruction-step">
|
||||
<span class="step-number">2</span>
|
||||
@@ -71,11 +71,6 @@
|
||||
</div>
|
||||
<div class="instruction-step">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user