M2Team / NanaZip

The 7-Zip derivative intended for the modern Windows experience
https://sourceforge.net/projects/nanazip/
Other
8.92k stars 224 forks source link

SDK出了吗? #466

Open 6uO opened 4 months ago

6uO commented 4 months ago

想7-Zip支持其它压缩格式,无奈不知如何实现 之前群里说会整理乱糟糟的接口(

MouriNaruto commented 4 months ago

相关事务还在推进过程中

毛利

6uO commented 4 months ago

估摸要推多久?//期待脸 如果造不出别勉强,像MSDN一样纯文档也能接受

6uO commented 4 months ago

求追加从任意分卷打开功能 因为浏览器问题,不清楚为什么无法上传文件,只能贴代码 :像国内压缩工具那样: :支持双击任意分卷(001-050而不是到999是好压标准,zip-z99也是) :支持双击zipx for /f "delims=" %%a in ('reg query HKLM\SOFTWARE\7-Zip /v Path')do set a=%%a cd %a:~22%

cd %~dp0 :mshta VBScript:CreateObject(\"WScript.Shell\").Run(Chr(34)&Left(\"%%1\",Len(\"%%1\")-3)&\"001\"&Chr(34))(window.close) :其它000分卷图标在7zFM预览也是7z.dll,9(不是本脚本所为),估计作者懒的造 :set 001_Icon="%a:~22%7zG.exe"%黑白图标% set 000_Icon="%a:~22%7z.dll,9" set z00_Icon="%a:~22%7z.dll,1" set OpenC="mshta VBScript:CreateObject(\"WScript.Shell\").Run(Chr(34)&Left(\"%%1\",Len(\"%%1\")-3)&\"001\"&Chr(34))(window.close)" set OpenZipC=%OpenC:~,89%zip%OpenC:~92%

:zip:z01 zipx jar xpi odt ods docx xlsx epub ipa apk appx reg add HKCR.z01 /ve /d "z01 Archive" /f reg add HKCR.z01\DefaultIcon /ve /d %z00_Icon% /f reg add HKCR.z01\shell\open\command /ve /d "%a:~22%7zFM %%1" /f :因为掩码00所以两个for for /l %%a in (2,1,9)do ( reg add HKCR.00%%a /ve /d "00%%a Archive" /f reg add HKCR.00%%a\DefaultIcon /ve /d %000_Icon% /f reg add HKCR.00%%a\shell\open\command /ve /d %OpenC% /f

reg add HKCR\.z0%%a /ve /d "z0%%a Archive" /f
reg add HKCR\.z0%%a\DefaultIcon /ve /d %z00_Icon% /f
reg add HKCR\.z0%%a\shell\open\command /ve /d %OpenZipC% /f

) for /l %%a in (10,1,50)do ( reg add HKCR.0%%a /ve /d "0%%a Archive" /f reg add HKCR.0%%a\DefaultIcon /ve /d %000_Icon% /f reg add HKCR.0%%a\shell\open\command /ve /d %OpenC% /f ) for /l %%a in (10,1,99)do ( reg add HKCR.z%%a /ve /d "z%%a Archive" /f reg add HKCR.z%%a\DefaultIcon /ve /d %z00_Icon% /f reg add HKCR.z%%a\shell\open\command /ve /d %OpenZipC% /f )

:WinZip reg add HKCR.ZIPX /ve /d "zipx Archive" /f reg add HKCR.ZIPX\DefaultIcon /ve /d %z00_Icon% /f reg add HKCR.ZIPX\shell\open\command /ve /d "%a:~22%7zFM %%1" /f

echo 继续将重启Explorer以即现缩略图效果(极端情况下进行,不推荐常用),但资源管理器任务立即结束且还原上次关机时桌面图标位置! pause taskkill/f /im explorer* :一般情况拒绝访问,删不掉 rd/s/q %localappdata%\Microsoft\Windows\Explorer start explorer echo 继续将卸载 pause

reg delete HKCR.z01 /f for /l %%a in (2,1,9)do ( reg delete HKCR.00%%a /f reg delete HKCR.z0%%a /f ) for /l %%a in (10,1,99)do ( reg delete HKCR.0%%a /f reg delete HKCR.z%%a /f )