5 Star 29 Fork 10

江南一根葱/AppStore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
buildAppStore.bat 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
江南一根葱 提交于 2022-04-13 07:19 . update buildAppStore.bat.
mode con: cols=50 lines=35
if exist X:\ipxefm title=NewBeePE模式打包
if not exist X:\ipxefm title=正常系统模式打包
::@echo off
cd /d %~dp0Appstore
@echo 更新菜单缓存....
call updater.bat
@echo 更新菜单缓存完成!
if exist Appstore.exe del /q /f Appstore*.exe*
set output=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%wimfile%
if exist X:\ipxefm call :inpe
if not exist X:\ipxefm call :insys
copy Appstore.exe /y %USERPROFILE%\Desktop\AppStore_%output%.exe
echo 新的商店已经保存为%USERPROFILE%\Desktop\AppStore_%output%.exe
echo 生成拥有自主农副产品的软件商店制作完成!快脱下衣服使用吧!
pause
:::::
:insys
title=正常系统模式打包
set dabao=Appstore\bin\7zx64.exe
set appstoreexe=AppStore\bin\AppStore.exe
cd /d ..\..
if exist Appstore.exe del /q /f Appstore*.exe*
@echo 复制空壳文件中...
copy /y %appstoreexe% Appstore.exe>nul
@echo 打包商店到空壳文件AppStore.exe...
%dabao% a AppStore.exe AppStore\ >nul
exit /b
:inpe
cd /d %~dp0
set dabao="X:\Program Files\7-zip\7z.exe"
set appstoreexe="%temp%\AppStore\appstore\bin\appstore.exe"
pecmd kill Appstore.exe
if exist Appstore.exe del /q /f Appstore*.exe*
@echo 复制空壳文件中...
copy /y %appstoreexe% Appstore.exe
@echo 打包商店到空壳文件AppStore.exe...
set output=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%wimfile%
copy /y winxshell.exe "X:\Windows\temp\AppStore\appstore" /y
copy /y X:\windows\system32\aria2c.exe "X:\Windows\temp\AppStore\appstore\aria2c.exe" /y
copy /y %dabao% "X:\Windows\temp\AppStore\appstore\bin\7zx64.exe" /y
copy /y "X:\Program Files\7-zip\7z.dll" "X:\Windows\temp\AppStore\appstore\bin\7z.dll"
%dabao% a AppStore.exe %temp%\AppStore\appstore\ >nul
exit /b
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lua
1
https://gitee.com/zwj4031/appstore.git
git@gitee.com:zwj4031/appstore.git
zwj4031
appstore
AppStore
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385