Fix config location

This commit is contained in:
Bane Stojkovic
2022-02-22 16:03:31 +01:00
parent 738dd800af
commit a038de3d31
8 changed files with 24 additions and 10 deletions
@@ -3673,5 +3673,21 @@
</changes> </changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url> <url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version> </org.diylc.appframework.update.Version>
<org.diylc.appframework.update.Version>
<versionNumber>
<major>4</major>
<minor>21</minor>
<build>3</build>
</versionNumber>
<releaseDate>2022-02-22 00:00:00.000 CET</releaseDate>
<name></name>
<changes>
<org.diylc.appframework.update.Change>
<changeType>BUG_FIX</changeType>
<description>Fixed the issue with the app going back to .diylc user directory for configuration storage. Only diylc directory is used going forward, please copy config.xml from .diylc to diylc if you are missing any configuration</description>
</org.diylc.appframework.update.Change>
</changes>
<url>https://github.com/bancika/diy-layout-creator/releases</url>
</org.diylc.appframework.update.Version>
</a> </a>
</java.util.Arrays_-ArrayList> </java.util.Arrays_-ArrayList>
Binary file not shown.
+1 -1
View File
@@ -10,7 +10,7 @@
<property name="jar.dir" value="${build.dir}/jar" /> <property name="jar.dir" value="${build.dir}/jar" />
<property name="report.dir" value="${build.dir}/junitreport" /> <property name="report.dir" value="${build.dir}/junitreport" />
<property name="main.class" value="org.diylc.DIYLCStarter" /> <property name="main.class" value="org.diylc.DIYLCStarter" />
<property name="diylc.version" value="4.21.2" /> <property name="diylc.version" value="4.21.3" />
<property name="osx.jre8.path" value="jre\osx\jdk8u275-b01-jre\Contents\Home\" /> <property name="osx.jre8.path" value="jre\osx\jdk8u275-b01-jre\Contents\Home\" />
-1
View File
@@ -22,7 +22,6 @@
5 band 5 band
5PDT 5PDT
5PDT (Center OFF) 5PDT (Center OFF)
9 Pin Socket 1
A-O-I REGULATOR A-O-I REGULATOR
AWG AWG
And And
+5 -6
View File
@@ -14,12 +14,6 @@ then
mkdir $SNAP_USER_DATA/themes mkdir $SNAP_USER_DATA/themes
fi fi
#copy a mising update.xml file
if [ ! -f $SNAP_USER_DATA/update.xml ]
then
cp $SNAP/update.xml $SNAP_USER_DATA/update.xml
fi
#copy themes #copy themes
if [ ! -f $SNAP_USER_DATA/themes/'Blueprint.xml' ] if [ ! -f $SNAP_USER_DATA/themes/'Blueprint.xml' ]
then then
@@ -36,6 +30,11 @@ then
cp $SNAP/themes/'Light.xml' $SNAP_USER_DATA/themes/'Light.xml' cp $SNAP/themes/'Light.xml' $SNAP_USER_DATA/themes/'Light.xml'
fi fi
if [ ! -f $SNAP_USER_DATA/themes/'Gray.xml' ]
then
cp $SNAP/themes/'Gray.xml' $SNAP_USER_DATA/themes/'Gray.xml'
fi
cd $SNAP cd $SNAP
echo ============================================= echo =============================================
Binary file not shown.
Binary file not shown.
@@ -242,6 +242,6 @@ public class DIYLCStarter {
ConfigurationManager configurationManager = ConfigurationManager.getInstance(); ConfigurationManager configurationManager = ConfigurationManager.getInstance();
XStream xStream = configurationManager.getSerializer(); XStream xStream = configurationManager.getSerializer();
ProjectFileManager.configure(xStream); ProjectFileManager.configure(xStream);
configurationManager.initialize(".diylc"); configurationManager.initialize("diylc");
} }
} }