From 2d124897b51b8e13b437d6012a75f689e4da9df8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E5=B3=B0=E5=90=9B=E4=B8=BB?= <994923161@qq.com> Date: Sun, 20 Oct 2024 20:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20package.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 package.sh diff --git a/package.sh b/package.sh deleted file mode 100644 index 9508b24..0000000 --- a/package.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# 要清理的临时目录路径 -TEMP_DIR="C:/Users/XINNIAN/AppData/Local/Temp/electron-packager" - -# 检查临时目录是否存在,并清理其内容 -if [ -d "$TEMP_DIR" ]; then - echo "正在清理临时目录: $TEMP_DIR" - rm -rf "$TEMP_DIR"/* - echo "临时目录清理完成!" -else - echo "临时目录不存在: $TEMP_DIR" -fi - -# 打包 Electron 应用 -echo "开始打包 Electron 应用..." -npx electron-packager . iteyes --platform=win32 --arch=x64 --icon=assets/icon.ico --out=dist --overwrite - - -echo "Electron 应用打包完成!"