Bläddra i källkod

Moved certain assets to the assets folder

Modified install.sh to reference these locations

Modified the nextcloud.desktop file to reference the assets folder where the icon is located.
mike 1 månad sedan
förälder
incheckning
a2ebaba1ae
5 ändrade filer med 4 tillägg och 21 borttagningar
  1. BIN
      .install.sh.swp
  2. BIN
      Nextcloud.png
  3. 1 1
      assets/nextcloud.desktop
  4. 3 3
      install.sh
  5. 0 17
      nextcloud.desktop

BIN
.install.sh.swp


BIN
Nextcloud.png


+ 1 - 1
assets/nextcloud.desktop

@@ -8,7 +8,7 @@ Exec=nextcloud &
 Terminal=false
 #X-MultipleArgs=false
 Type=Application
-Icon=/home/mike/Software/Nextcloud/Nextcloud.png
+Icon=/home/mike/Software/Nextcloud/assets/Nextcloud.png
 #Categories=GNOME;GTK;Network;WebBrowser;
 MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;video/webm;application/x-xpinstall;
 #StartupNotify=true

+ 3 - 3
install.sh

@@ -92,15 +92,15 @@ echo "Done."
 
 # Ensure Desktop file is set
 
-if ! [ -f "$projectdir/nextcloud.desktop" ]; then
+if ! [ -f "$assetspath/nextcloud.desktop" ]; then
   echo "WARNING: nextcloud.desktop file not found!"
   echo "WARNING: Desktop file not set!"
   exit 1
 fi
 
 echo "Setting nextcloud.desktop in /usr/local/share/applications and verifying permissions"
-ln -fs $projectdir/nextcloud.desktop $desktoppath/
-chmod +x $projectdir/nextcloud.desktop
+ln -fs $assetspath/nextcloud.desktop $desktoppath/
+chmod +x $assetspath/nextcloud.desktop
 echo "Done."
 
 echo "Update Complete.  Done."

+ 0 - 17
nextcloud.desktop

@@ -1,17 +0,0 @@
-[Desktop Entry]
-Version=1.0
-#NoDisplay=true
-Name=Nextcloud Desktop Client
-GenericName=Nextcloud
-#Keywords=Internet;WWW;Browser;Web;Explorer
-Exec=nextcloud &
-Terminal=false
-#X-MultipleArgs=false
-Type=Application
-Icon=/home/mike/Software/Nextcloud/Nextcloud.png
-#Categories=GNOME;GTK;Network;WebBrowser;
-MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;video/webm;application/x-xpinstall;
-#StartupNotify=true
-#StartupWMClass=firefox
-#Actions=new-window;new-private-window;
-