Ignore:
Timestamp:
May 5, 2013, 10:59:55 PM (12 years ago)
Author:
alloc
Message:

AEI2.11:

Location:
java/installer2/src/net/oni2/aeinstaller
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • java/installer2/src/net/oni2/aeinstaller/AEInstaller.properties

    r857 r859  
    11appname=AE Installer 2
    2 appversion=.10
     2appversion=.11
  • java/installer2/src/net/oni2/aeinstaller/Images.properties

    r817 r859  
    1717img.update=/net/oni2/aeinstaller/images/open_icon_library/system-software-update-2.png
    1818img.clear=/net/oni2/aeinstaller/images/open_icon_library/edit-clear-locationbar-rtl.png
     19img.foldernew=/net/oni2/aeinstaller/images/open_icon_library/folder-new-5.png
    1920
    2021img.unSelect16=/net/oni2/aeinstaller/images/selectall.png
  • java/installer2/src/net/oni2/aeinstaller/backend/packages/PackageManager.java

    r857 r859  
    328328        }
    329329
    330         private void updateLocalData() {
     330        /**
     331         * Rescan local packages folder for local only packages and updated
     332         * Mod_Info.cfg
     333         */
     334        public void updateLocalData() {
    331335                if (Paths.getModsPath().exists()) {
    332336                        for (File f : Paths.getModsPath().listFiles(new FileFilter() {
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r858 r859  
    507507                });
    508508        }
     509       
     510        @SuppressWarnings("unused")
     511        private void refreshLocalMods() {
     512                PackageManager.getInstance().updateLocalData();
     513        }
    509514
    510515        @SuppressWarnings("unused")
  • java/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r817 r859  
    1717    - Action(name=runOniWin, text=menu.runOniWin, toolTipText=menu.runOniWinTooltip, icon=img.oni, onAction=[oniWin])
    1818    - Action(name=openEditionFolder, text=menu.openEditionFolder, toolTipText=menu.openEditionFolderTooltip, icon=img.folder, onAction=[openEditionFolder])
     19    - Action(name=refreshLocalMods, text=menu.refreshLocalMods, toolTipText=menu.refreshLocalModsTooltip, icon=img.foldernew, onAction=[refreshLocalMods])
    1920    - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
    2021    - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
     
    3839            - JSeparator()
    3940            - JMenuItem(action=openEditionFolder)
     41            - JMenuItem(action=refreshLocalMods)
    4042            - JSeparator()
    4143            - JMenuItem(action=corePackages)
  • java/installer2/src/net/oni2/aeinstaller/localization/MainWin.properties

    r810 r859  
    1919menu.openEditionFolder=Open AE folder
    2020menu.openEditionFolderTooltip=Open the AE folder in the file explorer
     21menu.refreshLocalMods=Rescan local packages
     22menu.refreshLocalModsTooltip=Scan for manually locally added packages and updated Mod_Info.cfg
    2123menu.loadConfig=&Load mod selection...
    2224menu.loadConfigTooltip=Load mod selection from a file
Note: See TracChangeset for help on using the changeset viewer.