Skip to content

Commit

Permalink
去掉自动解封全部 IP 的提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Jan 9, 2025
1 parent 94c6a1d commit dad2df5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
14 changes: 8 additions & 6 deletions install4j/project.install4j~
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<install4j version="11.0.1" transformSequenceNumber="11">
<directoryPresets config="target/PeerBanHelper.jar" />
<application name="PeerBanHelper" applicationId="7121-2388-2769-9582" mediaDir="./output" lzmaCompression="true" shortName="PeerBanHelper" publisher="PBH-BTN Community" publisherWeb="https://github.com/PBH-BTN" version="7.0.0" allPathsRelative="true" backupOnSave="true" autoSave="true" convertDotsToUnderscores="false" convertSpacesToUnderscores="false" macVolumeId="6106cfe6eb875954" javaMinVersion="23" javaMaxVersion="24">
<application name="PeerBanHelper" applicationId="7121-2388-2769-9582" mediaDir="./output" lzmaCompression="true" shortName="PeerBanHelper" publisher="PBH-BTN Community" publisherWeb="https://github.com/PBH-BTN" version="7.3.0" allPathsRelative="true" backupOnSave="true" autoSave="true" convertDotsToUnderscores="false" convertSpacesToUnderscores="false" macVolumeId="6106cfe6eb875954" javaMinVersion="23" javaMaxVersion="24">
<languages languageSelectionInPrincipalLanguage="true">
<principalLanguage id="zh_CN" customLocalizationFile="./lang/custom.utf8" />
<additionalLanguages>
Expand All @@ -12,6 +12,8 @@
<variable name="registerSystemService" value="registerSystemService" />
<variable name="jarPath" value="../target/PeerBanHelper.jar" />
<variable name="librariesPath" value="../target/libraries" />
<variable name="startupFlagPlatform" value="-XX:UseSVE=0 -Xmx512M -Xms16M -Xss512k-XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j" separatorConversion="target" />
<variable name="startupFlagPlatformNoGUI" value="-XX:UseSVE=0 -Xmx512M -Xms16M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Djava.awt.headless=true" separatorConversion="target" />
</variables>
<jreBundles jdkProviderId="Liberica" release="23/23.0.1+13" />
</application>
Expand All @@ -37,7 +39,7 @@
<executable name="PeerBanHelper-GUI" iconSet="true" executableDir="." redirectStdout="true" executableMode="gui" changeWorkingDirectory="false" singleInstance="true" checkConsoleParameter="true">
<versionInfo include="true" fileDescription="${i18n:peerbanhelper.description}" legalCopyright="PBH-BTN Community - Licensed under GPLv3 licenses. https://www.gnu.org/licenses/quick-guide-gplv3.en.html" internalName="peerbanhelper" />
</executable>
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="-Xmx512M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Dlauncher.directory=${launcher:sys.launcherDirectory}">
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="${compiler:startupFlagPlatform}">
<classPath>
<scanDirectory location="libraries" failOnError="false" />
<archive location="PeerBanHelper.jar" failOnError="false" />
Expand All @@ -51,7 +53,7 @@
<executable name="PeerBanHelper-GUI-Silent" iconSet="true" executableDir="." redirectStdout="true" executableMode="gui" singleInstance="true" checkConsoleParameter="true">
<versionInfo include="true" fileDescription="${i18n:peerbanhelper.description}" legalCopyright="PBH-BTN Community - Licensed under GPLv3 licenses. https://www.gnu.org/licenses/quick-guide-gplv3.en.html" internalName="peerbanhelper" />
</executable>
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="-Xmx512M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Dlauncher.directory=${launcher:sys.launcherDirectory}" arguments="silent">
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="${compiler:startupFlagPlatform}" arguments="silent">
<classPath>
<scanDirectory location="libraries" failOnError="false" />
<archive location="PeerBanHelper.jar" failOnError="false" />
Expand All @@ -65,7 +67,7 @@
<executable name="PeerBanHelper-NoGUI" iconSet="true" executableDir="." redirectStderr="false" executableMode="console" singleInstance="true" checkConsoleParameter="true">
<versionInfo include="true" fileDescription="${i18n:peerbanhelper.description}" legalCopyright="PBH-BTN Community - Licensed under GPLv3 licenses. https://www.gnu.org/licenses/quick-guide-gplv3.en.html" internalName="peerbanhelper" />
</executable>
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="-Xmx512M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Djava.awt.headless=true -Dlauncher.directory=${launcher:sys.launcherDirectory}" arguments="nogui">
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="${compiler:startupFlagPlatformNoGUI}" arguments="nogui">
<classPath>
<scanDirectory location="libraries" failOnError="false" />
<archive location="PeerBanHelper.jar" failOnError="false" />
Expand All @@ -79,7 +81,7 @@
<executable name="PeerBanHelper-Service" iconSet="true" executableDir="." redirectStderr="false" stderrFile="~/PeerBanHelper/error.log" stdoutFile="~/PeerBanHelper/output.log" executableMode="service" singleInstance="true" checkConsoleParameter="true">
<versionInfo include="true" fileDescription="${i18n:peerbanhelper.description}" legalCopyright="PBH-BTN Community - Licensed under GPLv3 licenses. https://www.gnu.org/licenses/quick-guide-gplv3.en.html" internalName="peerbanhelper" />
</executable>
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="-Xmx512M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Djava.awt.headless=true -Dlauncher.directory=${launcher:sys.launcherDirectory}" arguments="nogui">
<java mainClass="com.ghostchu.peerbanhelper.MainJumpLoader" vmParameters="${compiler:startupFlagPlatformNoGUI}" arguments="nogui">
<classPath>
<scanDirectory location="libraries" failOnError="false" />
<archive location="PeerBanHelper.jar" failOnError="false" />
Expand All @@ -93,7 +95,7 @@
<executable name="PeerBanHelper-Updater" iconSet="true" executableDir="." failOnStderrOutput="false" executableMode="gui" singleInstance="true" checkConsoleParameter="true">
<versionInfo include="true" fileDescription="${i18n:peerbanhelper.description}" legalCopyright="PBH-BTN Community - Licensed under GPLv3 licenses. https://www.gnu.org/licenses/quick-guide-gplv3.en.html" internalName="peerbanhelper" />
</executable>
<java mainClass="com.ghostchu.peerbanhelper.MainEmpty" vmParameters="-Xmx512M -Xss512k -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+ShrinkHeapInSteps -Dfile.encoding=UTF-8 -Dpbh.usePlatformConfigLocation=true -Dpbh.release=install4j -Dlauncher.directory=${launcher:sys.launcherDirectory}">
<java mainClass="com.ghostchu.peerbanhelper.MainEmpty" vmParameters="${compiler:startupFlagPlatform}">
<classPath>
<scanDirectory location="libraries" failOnError="false" />
<archive location="PeerBanHelper.jar" failOnError="false" />
Expand Down
2 changes: 1 addition & 1 deletion webui/src/locale/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
'changeLogModel.updateNow': 'Update Now',
'globalPauseModel.title': 'Are you sure to enable global pause mode?',
'globalPauseModel.description':
'This will pause all ban and check operations of all downloaders until the next restart or cancel pause. IPs in banlist will be unbanned immediately.',
'This will pause all ban and check operations of all downloaders until the next restart or cancel pause.',
'global.pause.pauseAll': 'Pause',
'global.pause.pauseAll.tips':
"This will stop PeerBanhelper's all functions and unban all Peers, suitable for modifying downloader configuration",
Expand Down
3 changes: 1 addition & 2 deletions webui/src/locale/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ export default {
'changeLogModel.notNow': '不是现在',
'changeLogModel.updateNow': '立即更新',
'globalPauseModel.title': '确定启用全局暂停模式吗?',
'globalPauseModel.description':
'这将暂停所有下载器的封禁和检查操作,直至下次重启或者取消暂停。已封禁的 IP 地址将全部立刻解除封禁。',
'globalPauseModel.description': '这将暂停所有下载器的封禁和检查操作,直至下次重启或者取消暂停。',
'global.pause.pauseAll': '暂停',
'global.pause.pauseAll.tips':
'这将停止 PeerBanhelper 的全部功能并解封全部 Peer,适用于修改下载器配置等场景',
Expand Down

0 comments on commit dad2df5

Please sign in to comment.