Comments (27)
The desktop shortcut and menu button don't work.
Check the contents of /home/pi/Desktop/discord.desktop - mine contains an entire HTML document in it!
from pi-apps.
oop
from pi-apps.
Hmm. what if you just run the command wget http://download941.mediafire.com/nyhl1h8xxcog/18ux1pdfc714tim/discord.desktop -P /usr/bin/discord-linux-armv7l/
?
from pi-apps.
That command creates a file at /usr/bin/discord-linux-armv7l/discord.desktop
, but it's 43KB of HTML code.
from pi-apps.
This article may be helpful: https://superuser.com/questions/312305/downloading-a-rar-file-from-mediafire-using-wget
from pi-apps.
Probably the best option is for you to create your own GitHub repository and host discord.desktop and discord.svg yourself.
Or, you could be creative and reuse icon-64.png
for the .desktop file, and then hardcode discord.desktop creation within the install script.
from pi-apps.
was just about to do that
from pi-apps.
try dis:
Discord.zip
from pi-apps.
Updated the desktop files too
from pi-apps.
Works for me. Though it would be more streamlined if you were to do something like this for install
:
#!/bin/bash
DIRECTORY="$(dirname "$(dirname "$(dirname "$0")")")"
function error {
echo -e "\e[31m$1\e[39m"
exit 1
}
cd ~/Downloads
#Download from github
wget https://github.com/SpacingBat3/nativefier-discord-arm/raw/master/assets/discord-linux-armv7l.tar.gz || error 'Failed to download files!'
#Delete tar.gz and move to /usr/bin
tar -xf discord-linux-armv7l.tar.gz || error 'Failed to extract program!'
rm discord-linux-armv7l.tar.gz
sudo mv discord-linux-armv7l /usr/bin/ || error 'Failed to move folder!'
#Create desktop shortcut
echo "[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Discord
Exec=/usr/bin/discord-linux-armv7l/discord
Icon=${DIRECTORY}/icon-64.png
Categories=Network;Chat;VideoConference;WebApp;Internet
Comment=Your place to talk!
Comment[pl]=Twoje miejsce do rozmów!
GenericName=Network Messenger
GenericName[pl]=Kommunikator internetowy" > /usr/bin/discord-linux-armv7l/discord.desktop
sudo chmod +x /usr/bin/discord-linux-armv7l/discord.desktop
#menu button
sudo cp -a /usr/bin/discord-linux-armv7l/discord.desktop /usr/share/applications
#desktop shortcut
sudo cp -a /usr/bin/discord-linux-armv7l/discord.desktop ~/Desktop/
from pi-apps.
from pi-apps.
That was a lot more work than anticipated
from pi-apps.
Don't worry, you will get the hang of it.
If there's anything I can do to streamline the app creation process, please let me know.
I will add Discord to the official repo soon.
from pi-apps.
Thx bro
from pi-apps.
oop i think its broken again
from pi-apps.
No don't worry, I'm fixing it all up and trying various scenarios on it to make it BULLETPROOF. :)
from pi-apps.
Your version of install.sh is slightly broken I think.
from pi-apps.
tried installing and the program folder didnt even get moved, the icon doesn't show up for the shortcuts, and the menu bar shortcut isn't even there lol
from pi-apps.
I know. Don't worry.
from pi-apps.
OK it's been added to the repo.
from pi-apps.
I updated the repo and it auto started installing discord. Is that supposed to happen?
from pi-apps.
Also, the reason I didn't want to use the icon for discord in /apps/discord is that the middle is transparent.
from pi-apps.
Yes. Pi-Apps remembers that Discord was installed prior to the update.
When it updates, it uninstalls, copies the new files in, and then reinstalls.
If Discord had been uninstalled prior to updating, Pi-Apps wouldn't have installed it. APT does the same thing.
from pi-apps.
Probably should fix up the icon tho.
from pi-apps.
I noticed the bad transparency in the image. As that transparency is undesirable in all cases, I will fix the icons.
from pi-apps.
icons fixed.
from pi-apps.
from pi-apps.
Related Issues (20)
- Cant open Lunar client on Raspberry pi os bookworm HOT 3
- Lutris (Package app) HOT 2
- VICE Versatile Commodore Emulator HOT 4
- Pi-Apps Franken Debian HOT 2
- CI: Update App Versions Failures HOT 1
- UXPlay an AirPlay Server HOT 4
- Spotify HOT 3
- Reboot app (likely a joke) HOT 2
- OpenArena HOT 3
- RetroPie HOT 3
- Psensor
- Proper Ubuntu Touch support HOT 9
- Cura on Pi 5 Crash Fix HOT 7
- PiGro Won't Install/ Broken Packages HOT 9
- Steam dependency install issue HOT 7
- How to prevent wine update to do a full install every time and even override (design) settings? HOT 19
- PrusaSlicer no longer compatible with Pi4B or Pi5 OpenGL supported version HOT 12
- Docker Engine - Install based app HOT 3
- raspian trixie is supported despite some packages being broken HOT 3
- Make Pycharm work faster by lowering version HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi-apps.