Skip to content

Commit 18e5ae4

Browse files
committed
Added exposed groups to appman config and updated necessary config files...
1 parent 52a85ac commit 18e5ae4

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

Distros/HaxeDevelop/FlashDevelop/Bin/Debug/Tools/appman/Config.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<!-- Distro directory name -->
44
<Name>HaxeDevelop</Name>
5+
<!-- Exposed app list groups -->
6+
<Groups>FD5,HD5</Groups>
57
<!-- Directory where the archives should be stored -->
68
<Archive>$(BaseDir)\Apps</Archive>
79
<!-- Entry config file, can be an URL or a file path -->

External/Tools/AppMan/Bin/Release/Config.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<!-- Distro directory name -->
44
<Name>FlashDevelop</Name>
5+
<!-- Exposed app list groups -->
6+
<Groups>FD5</Groups>
57
<!-- Directory where the archives should be stored -->
68
<Archive>$(BaseDir)\Apps</Archive>
79
<!-- Entry config file, can be an URL or a file path -->

External/Tools/AppMan/MainForm.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ private void InitializeSettings()
230230
{
231231
settings = ObjectSerializer.Deserialize(file, settings) as Settings;
232232
if (!String.IsNullOrEmpty(settings.Name)) MainForm.DISTRO_NAME = settings.Name;
233+
if (!String.IsNullOrEmpty(settings.Groups)) MainForm.EXPOSED_GROUPS = settings.Groups;
233234
PathHelper.APPS_DIR = ArgProcessor.ProcessArguments(settings.Archive);
234235
PathHelper.CONFIG_ADR = ArgProcessor.ProcessArguments(settings.Config);
235236
PathHelper.HELP_ADR = ArgProcessor.ProcessArguments(settings.Help);
@@ -1663,18 +1664,20 @@ public class Settings
16631664
public String Archive = "";
16641665
public String Locale = "en_US";
16651666
public String Name = "FlashDevelop";
1667+
public String Groups = "FD5";
16661668

16671669
[XmlArrayItem("Path")]
16681670
public String[] Paths = new String[0];
16691671

16701672
public Settings() {}
1671-
public Settings(String config, String archive, String[] paths, String locale, String help, String logs, String name)
1673+
public Settings(String config, String archive, String[] paths, String locale, String help, String logs, String name, String groups)
16721674
{
16731675
this.Logs = logs;
16741676
this.Paths = paths;
16751677
this.Config = config;
16761678
this.Archive = archive;
16771679
this.Locale = locale;
1680+
this.Groups = groups;
16781681
this.Name = name;
16791682
this.Help = help;
16801683
}
0 Bytes
Binary file not shown.

FlashDevelop/Bin/Debug/Tools/appman/Config.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<Settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
33
<!-- Distro directory name -->
44
<Name>FlashDevelop</Name>
5+
<!-- Exposed app list groups -->
6+
<Groups>FD5</Groups>
57
<!-- Directory where the archives should be stored -->
68
<Archive>$(BaseDir)\Apps</Archive>
79
<!-- Entry config file, can be an URL or a file path -->

0 commit comments

Comments
 (0)