fix: 处理windows构建,make windows-release来启动,不用改变其他文件,使用的windows/packaging/exe
This commit is contained in:
@@ -6,16 +6,8 @@ executable_name: HiFastVPN.exe
|
||||
output_base_file_name: HiFastVPN.exe
|
||||
create_desktop_icon: true
|
||||
install_dir_name: "{autopf64}\\HiFastVPN"
|
||||
setup_icon_file: C:\Users\xprotocal\Downloads\hi-client\windows\runner\resources\app_icon.ico
|
||||
setup_icon_file: D:\hi-client\windows\runner\resources\app_icon.ico
|
||||
locales:
|
||||
- zh
|
||||
- zh-cn
|
||||
- zh_CN
|
||||
- ar
|
||||
- en
|
||||
- fa
|
||||
- ru
|
||||
- pt
|
||||
- tr
|
||||
script_template: inno_setup.sas
|
||||
languages_dir: compiler:Languages
|
||||
|
||||
+6
-6
@@ -1,7 +1,7 @@
|
||||
#define MyAppName "Kaer VPN"
|
||||
#define MyAppName "HiFastVPN"
|
||||
#define MyAppVersion "1.0.0"
|
||||
#define MyAppPublisher "Kaer"
|
||||
#define MyAppExeName "kaer_vpn.exe"
|
||||
#define MyAppPublisher "HiFastVPN"
|
||||
#define MyAppExeName "HiFastVPN.exe"
|
||||
|
||||
[Setup]
|
||||
AppId={{YOUR-APP-ID-HERE}
|
||||
@@ -23,8 +23,8 @@ Name: "chinesesimp"; MessagesFile: "compiler:Languages\ChineseSimplified.isl"
|
||||
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
Source: "build\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "build\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "build\windows\x64\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
Source: "C:\Windows\System32\msvcp140.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "C:\Windows\System32\vcruntime140.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "C:\Windows\System32\vcruntime140_1.dll"; DestDir: "{app}"; Flags: ignoreversion
|
||||
@@ -34,4 +34,4 @@ Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
|
||||
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
|
||||
|
||||
[Run]
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||
|
||||
Reference in New Issue
Block a user