Skip to content

Commit

Permalink
分组件安装
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Dec 4, 2024
1 parent d34a4e4 commit 956a0e8
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
4 changes: 3 additions & 1 deletion install4j/lang/custom.utf8
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ launcher.peerbanhelper.updater=PeerBanHelper 检查更新
checkbox.followsystemstartup=登录时自动启动到系统托盘
peerbanhelper.description=PeerBanHelper
checkbox.registersystemservice=注册为系统服务(除非你知道这是做什么的,否则不要选中)
systemservice.note=将 PeerBanHelper 安装为系统服务时,Windows 系统下配置文件将被存储在 C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper 位置,访问此位置需要您拥有管理员权限。\nPeerBanHelper 将在系统启动时自动启动。
systemservice.note=将 PeerBanHelper 安装为系统服务时,Windows 系统下配置文件将被存储在 C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper 位置,访问此位置需要您拥有管理员权限。\nPeerBanHelper 将在系统启动时自动启动。
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper 的核心主程序,包含了主程序代码和必要的运行文件
4 changes: 3 additions & 1 deletion install4j/lang/en-US.utf8
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ launcher.peerbanhelper.updater=PeerBanHelper Updater
checkbox.followsystemstartup=Boot automatically to the system tray when logged in
peerbanhelper.description=PeerBanHelper
checkbox.registersystemservice=Register as system service (DO NOT CHECK UNLESS YOU KNOW WHAT YOU'RE DOING)
systemservice.note=When you install PeerBanHelper as system service,under Windows operation system, the configuration and files will store at C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper. Access this location will require Administrator privileges.
systemservice.note=When you install PeerBanHelper as system service,under Windows operation system, the configuration and files will store at C:\Windows\System32\config\systemprofile\AppData\Local\PeerBanHelper. Access this location will require Administrator privileges.
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper core program, including main program code and necessary runtime files
4 changes: 3 additions & 1 deletion install4j/lang/zh-CN.utf8
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ launcher.peerbanhelper.nogui=PeerBanHelper (无GUI, 控制台)
launcher.peerbanhelper.service=PeerBanHelper (服务)
launcher.peerbanhelper.updater=PeerBanHelper 检查更新
checkbox.followsystemstartup=登录到桌面时自动启动
peerbanhelper.description=一个能够自动封禁不受欢迎、吸血和异常的 Peers,并支持自定义规则的 BT 客户端辅助工具
peerbanhelper.description=一个能够自动封禁不受欢迎、吸血和异常的 Peers,并支持自定义规则的 BT 客户端辅助工具
components.peerbanhelper=PeerBanHelper
components.peerbanhelper.description=PeerBanHelper 的核心主程序,包含了主程序代码和必要的运行文件
9 changes: 8 additions & 1 deletion install4j/project.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
<dirEntry mountPoint="24" file="${compiler:librariesPath}" entryMode="subdir" subDirectory="libraries" />
<variableEntry mountPoint="24" name="jarPath" />
</entries>
<components>
<component name="${i18n:components.peerbanhelper}" id="245" customizedId="peerbanhelper" changeable="false">
<description>${i18n:components.peerbanhelper.description}</description>
<include>
<entry defaultFileset="true" />
</include>
</component>
</components>
</files>
<launchers>
<launcher name="PeerBanHelper" id="26" menuName="${i18n:launcher.peerbanhelper.gui}" checkUpdater="true">
Expand Down Expand Up @@ -92,7 +100,6 @@
</classPath>
</java>
<iconImageFiles>
<file path="" />
<file path="./updater.png" />
</iconImageFiles>
</launcher>
Expand Down

0 comments on commit 956a0e8

Please sign in to comment.