mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 12:24:58 +10:00
delete extra files from snap folder
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=DIY Layout Creator
|
|
||||||
Comment=Draw stripboard circuits
|
|
||||||
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
|
|
||||||
Exec=diylc
|
|
||||||
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
|
||||||
Icon=/snap/diylc/current/splash.png
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
StartupNotify=true
|
|
||||||
Name[en_GB]=diylc.desktop
|
|
||||||
Categories=Graphics; Electronics
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
export JAVA_HOME=$SNAP/usr/lib/jvm/java-8-openjdk-amd64
|
|
||||||
export PATH=$JAVA_HOME/jre/bin:$PATH
|
|
||||||
|
|
||||||
#Start in user configuration directory
|
|
||||||
cd $SNAP_USER_DATA
|
|
||||||
|
|
||||||
#Create any missing user configuration directories
|
|
||||||
|
|
||||||
#themes
|
|
||||||
if [ ! -d $SNAP_USER_DATA/themes ]
|
|
||||||
then
|
|
||||||
mkdir $SNAP_USER_DATA/themes
|
|
||||||
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
|
|
||||||
if [ ! -f $SNAP_USER_DATA/themes/'Blueprint.xml' ]
|
|
||||||
then
|
|
||||||
cp $SNAP/themes/'Blueprint.xml' $SNAP_USER_DATA/themes/'Blueprint.xml'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f $SNAP_USER_DATA/themes/'Dark.xml' ]
|
|
||||||
then
|
|
||||||
cp $SNAP/themes/'Dark.xml' $SNAP_USER_DATA/themes/'Dark.xml'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f $SNAP_USER_DATA/themes/'Light.xml' ]
|
|
||||||
then
|
|
||||||
cp $SNAP/themes/'Light.xml' $SNAP_USER_DATA/themes/'Light.xml'
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd $SNAP
|
|
||||||
|
|
||||||
echo =============================================
|
|
||||||
echo SNAP
|
|
||||||
echo $SNAP
|
|
||||||
echo =============================================
|
|
||||||
echo SNAP_USER_DATA
|
|
||||||
echo $SNAP_USER_DATA
|
|
||||||
echo =============================================
|
|
||||||
|
|
||||||
java -splash:splash.png -Xms512m -Xmx2048m -Dorg.diylc.scriptRun=true -Duser.dir=$SNAP_USER_DATA -Dfile.encoding=UTF-8 -cp $SNAP/diylc.jar:lib org.diylc.DIYLCStarter
|
|
||||||
Reference in New Issue
Block a user