Compare commits

...
Author SHA1 Message Date
ender-zhaoandGitHub 15ceb0265e Create packing_script.iss 2022-12-02 17:18:47 +08:00
ender-zhaoandGitHub 8016389b15 Update README.md 2022-12-02 17:09:27 +08:00
ender-zhaoandGitHub 5137ba570f Image_Clash-for-Windows_Chinese-0.20.10 2022-12-02 17:02:23 +08:00
3 changed files with 97 additions and 4 deletions
+13 -4
View File
@@ -5,7 +5,7 @@
效果图
[![photo](https://github.com/ender-zhao/Clash-for-Windows_Chinese/blob/main/image/Image_Clash-for-Windows_Chinese-0.20.9.png?raw=true)](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/)
[![photo](https://github.com/ender-zhao/Clash-for-Windows_Chinese/blob/main/image/Image_Clash-for-Windows_Chinese-0.20.10.png?raw=true)](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/)
支持的clash版本:
@@ -20,7 +20,8 @@
[0.20.6](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.6_CN),
[0.20.7](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.7_CN),
[0.20.8](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.8_CN),
[0.20.9](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.9_CN)
[0.20.9](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.9_CN),
[0.20.10](https://github.com/ender-zhao/Clash-for-Windows_Chinese/releases/tag/CFW-V0.20.10_CN)
<details><summary>下载前你需要知晓的内容:</summary>
@@ -52,11 +53,17 @@
app.asar\node_modules\moment\locale\zh-cn.js
封包方式
安装程序的封包程序:
简易封包工具_3.2.0.1.exe
简易封包工具_3.2.0.1.exe (已被淘汰)
Inno Setup Compiler
下载链接:
https://jrsoftware.org/isdl.php
.7z扩展名的封包程序:
7-zip
7-zip (已弃用)
下载链接:
https://7-zip.org/
NanaZip
下载链接:
In the Microsoft Store
--------------------------
important!
-------------------------
@@ -86,6 +93,8 @@ http://o.okjiasu.com/auth/register?code=6666
#### 能够解压7z格式的软件
[NanaZip](https://github.com/M2Team/NanaZip) *(兼容Windows11)*
[7-Zip](https://www.7-zip.org/)
[WinRAR](https://www.rarlab.com/)
+84
View File
@@ -0,0 +1,84 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
#define MyAppName "Clash for Windows"
; Need change
#define MyAppVersion "0.20.10"
#define MyAppPublisher "Clash for Windows"
#define MyAppURL "https://github.com/[users]-zhao/Clash-for-Windows_Chinese"
#define MyAppExeName "Clash for Windows.exe"
; Need change
#define MyAppAssocName "Clash.for.Windows.Setup.0.20.10"
#define MyAppAssocExt ".exe"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{FDA54DAD-1739-4AAE-B8DF-098ACCEA840A}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=C:\Program Files\{#MyAppName}
ChangesAssociations=yes
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
; May Need change
InfoBeforeFile=D:\Tools-of-CFW-Chinese\pack\state.txt
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
; May Need change
OutputDir=C:\Users\[users]\Downloads
; Need change
OutputBaseFilename=Clash.for.Windows.Setup.0.20.10
; May Need change
SetupIconFile=D:\Tools-of-CFW-Chinese\pack\icon-setup.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
; May Need change
[Files]
Source: "D:\Tools-of-CFW-Chinese\pack\Clash for Windows\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Tools-of-CFW-Chinese\pack\Clash for Windows\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Registry]
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocExt}\OpenWithProgids"; ValueType: string; ValueName: "{#MyAppAssocKey}"; ValueData: ""; Flags: uninsdeletevalue
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}"; ValueType: string; ValueName: ""; ValueData: "{#MyAppAssocName}"; Flags: uninsdeletekey
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\{#MyAppExeName},0"
Root: HKA; Subkey: "Software\Classes\{#MyAppAssocKey}\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\{#MyAppExeName}"" ""%1"""
Root: HKA; Subkey: "Software\Classes\Applications\{#MyAppExeName}\SupportedTypes"; ValueType: string; ValueName: ".myp"; ValueData: ""
[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
[InstallDelete]
; Delete old style named plugins that may have been previously installed
Type: files; Name: "{app}\Plugins\LSRetail.*";
Type: files; Name: "{app}\*"
[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB