Files
quick-xmake/script/quick-xmake-uninstall.bat

61 lines
2.2 KiB
Batchfile
Raw Permalink Normal View History

2026-03-07 23:01:32 +08:00
@echo off
setlocal
title Quick XMake �Ҽ��˵�ж��
echo =========================================
echo Quick XMake - �Ҽ��˵�ж�ع���
echo =========================================
echo.
echo ����ж���Ҽ��˵�...
echo.
REM ɾ������ע������������㿪ʼ��
echo ɾ�������˵�����...
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\run\command" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\template\command" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\set-release\command" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\set-debug\command" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\build\command" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\create\command" /f 2>nul
echo ɾ�������˵�...
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\run" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\template" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\set-release" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\set-debug" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\build" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell\create" /f 2>nul
echo ɾ��һ���˵�...
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake\shell" /f 2>nul
reg delete "HKEY_CLASSES_ROOT\Directory\Background\shell\quick-xmake" /f 2>nul
echo.
echo =========================================
echo ж�سɹ���
echo =========================================
echo.
echo ��ɾ�����²˵��
echo ������ Create
echo ������ Build
echo ������ Set debug mode
echo ������ Set release mode
echo ������ Run
echo.
echo ע�����
echo 1. ����Ҫ������Դ���������ܿ����˵����Ƴ�
echo 2. �Ƿ�����������Դ��������
echo.
choice /c YN /n /m "������Դ������ (Y/N): "
if %errorlevel% equ 1 (
echo ����������Դ������...
taskkill /f /im explorer.exe >nul 2>&1
start explorer.exe
echo ��Դ������������
) else (
echo ������ѡ���Ժ��ֶ�������Դ������
)
echo.
pause
exit /b 0