Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from TeknosQuet/main
Browse files Browse the repository at this point in the history
Update to 0.0.19 & improve general stuff
  • Loading branch information
0vf authored Aug 30, 2022
2 parents 14810ec + 66a954c commit d9516ca
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Installation
`node16` and `npm` are required for the install<br />
```
sudo pkg install electron13 node16 npm
sudo pkg install electron19 node16 npm
git clone https://github.com/z-ffqq/Discord-BSD.git
cd Discord-BSD
./install.sh
Expand Down
3 changes: 1 addition & 2 deletions discord
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
cd ~/.local/share/discord-bsd
echo "Discord 0.0.18"
sleep 2
echo "Discord 0.0.19"
npm run client
4 changes: 2 additions & 2 deletions discord.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Discord
Version=0.0.19
Type=Application
StartupWMClass=discord
GenericName=Internet Messenger
Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
Expand Down
12 changes: 4 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
#!/bin/sh
printf "Discord 0.0.18\n"
sleep 1
printf "Discord native client for FreeBSD\n"
sleep 0.2
printf "Discord 0.0.19\n"
printf "Discord desktop client based on Discord Web for FreeBSD\n"
install() {
sleep 0.2
printf "Installing Discord 0.0.18 ...\n"
printf "Installing...\n"
mkdir -p ~/.local/share/discord-bsd
mkdir -p ~/.local/bin
mkdir -p ~/.local/share/applications
cp -rv ./* ~/.local/share/discord-bsd
mv -v ~/.local/share/discord-bsd/discord.desktop ~/.local/share/applications/
mv -v ~/.local/share/discord-bsd/discord ~/.local/bin
sed -i '' "s/Exec=auto1/Exec=\/home\/$USER\/.local\/bin\/discord/" ~/.local/share/applications/discord.desktop
sleep 2
sed -i '' "s/Icon=auto2/Icon=\/home\/$USER\/.local\/share\/discord-bsd\/discord.png/" ~/.local/share/applications/discord.desktop
cd /home/$USER/.local/share/discord-bsd
npm install
printf "Discord 0.0.18 installed!\n"
printf "Discord 0.0.19 installed!\n"
}
printf "Launching installer...\n" && install
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "Discord",
"version": "0.0.17",
"version": "0.0.19",
"description": "Discord Client",
"main": "index.js",
"scripts": {
"client": "electron13 ."
"client": "electron19 ."
},
"author": "z-ffqq",
"license": "BSD-3-Clause",
Expand Down

0 comments on commit d9516ca

Please sign in to comment.