Compare commits

..

2 Commits

Author SHA1 Message Date
30f05240f9 fix: 补充设置界面语言切换 2024-10-19 17:33:05 +08:00
115e672f26 ci: 非release版本不上传工件 2024-10-19 17:14:41 +08:00
3 changed files with 12 additions and 4 deletions

View File

@ -121,10 +121,12 @@ jobs:
mkdir zipball && cp target/*.zip zipball mkdir zipball && cp target/*.zip zipball
- name: Upload AListGUI to Github - name: Upload AListGUI to Github
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: AListGUI-windows name: AListGUI-windows
path: zipball path: zipball
retention-days: 5
release: release:
if: startsWith(github.ref, 'refs/tags/v') if: startsWith(github.ref, 'refs/tags/v')

View File

@ -37,8 +37,14 @@ public class SetupController extends BaseController<SetupViewModel> implements I
public CheckBox silentStartupCheckBox; public CheckBox silentStartupCheckBox;
@I18n(key = "setup.close-to-tray.label") @I18n(key = "setup.close-to-tray.label")
public CheckBox closeToTrayCheckBox; public CheckBox closeToTrayCheckBox;
public ComboBox<Locale> languageComboBox; @I18n(key = "setup.theme")
public Label themeLabel;
public ComboBox<Theme> themeComboBox; public ComboBox<Theme> themeComboBox;
@I18n(key = "setup.language")
public Label languageLabel;
public ComboBox<Locale> languageComboBox;
@I18n(key = "setup.proxy")
public Label proxySetupLabel;
public ComboBox<ProxySetup> proxySetupComboBox; public ComboBox<ProxySetup> proxySetupComboBox;
public Pane proxySetupPane; public Pane proxySetupPane;
@I18n(key = "setup.proxy.test") @I18n(key = "setup.proxy.test")

View File

@ -14,15 +14,15 @@
<CheckBox fx:id="silentStartupCheckBox" text="%setup.silent-startup.label"/> <CheckBox fx:id="silentStartupCheckBox" text="%setup.silent-startup.label"/>
<CheckBox fx:id="closeToTrayCheckBox" text="%setup.close-to-tray.label"/> <CheckBox fx:id="closeToTrayCheckBox" text="%setup.close-to-tray.label"/>
<HBox alignment="CENTER_LEFT" spacing="10"> <HBox alignment="CENTER_LEFT" spacing="10">
<Label text="%setup.theme"/> <Label fx:id="themeLabel" text="%setup.theme"/>
<ComboBox fx:id="themeComboBox"/> <ComboBox fx:id="themeComboBox"/>
</HBox> </HBox>
<HBox alignment="CENTER_LEFT" spacing="10"> <HBox alignment="CENTER_LEFT" spacing="10">
<Label text="%setup.language"/> <Label fx:id="languageLabel" text="%setup.language"/>
<ComboBox fx:id="languageComboBox"/> <ComboBox fx:id="languageComboBox"/>
</HBox> </HBox>
<HBox alignment="CENTER_LEFT" spacing="20"> <HBox alignment="CENTER_LEFT" spacing="20">
<Label styleClass="proxy-label" text="%setup.proxy"/> <Label fx:id="proxySetupLabel" styleClass="proxy-label" text="%setup.proxy"/>
<ComboBox fx:id="proxySetupComboBox"/> <ComboBox fx:id="proxySetupComboBox"/>
<Button fx:id="proxyCheck" onAction="#proxyTest" text="%setup.proxy.test"/> <Button fx:id="proxyCheck" onAction="#proxyTest" text="%setup.proxy.test"/>
</HBox> </HBox>