From 785925846d504bf0e8a1ac90a80f55adc1c5e96b Mon Sep 17 00:00:00 2001 From: MasicoreLord Date: Sun, 11 Apr 2021 23:27:56 -0400 Subject: [PATCH 1/5] Lets users know that LinuxED is disctontinued, and that ED is end of life, only allowing them to complete an uninstall. --- LinuxED.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/LinuxED.py b/LinuxED.py index 4047b3a..b44e783 100755 --- a/LinuxED.py +++ b/LinuxED.py @@ -24,9 +24,10 @@ 'If you are unaware of what you\'re doing, it\'s recommended you close this installer.\n' 'Otherwise you may continue at your own risk.\n')""" - if os.name == 'nt': print('WARNING: it appears you are running LinuxED on Windows.\n' + """if os.name == 'nt': print('WARNING: it appears you are running LinuxED on Windows.\n' 'LinuxED was not originally made for Windows and Windows compatibility is not maintained.\n' - 'Continue at your own risk.') + 'Continue at your own risk.')""" + print('EnhancedDiscord has now reached end of life as of April 12th, and LinuxED is discontinued as well. You can still use it however, to remove EnhancedDiscord.') # Define the starting variables, these are all their own thing. username = getpass.getuser() dirpath = os.path.realpath('') @@ -153,8 +154,8 @@ def select_client(allow_custom=False): elif option == 'Update LinuxED': - print("Updating LinuxED...") - urllib.request.urlretrieve('https://github.com/Cr3atable/LinuxED/archive/master.zip', '%s/LinuxEDUpdate.zip' % tempdir) + print("No updates are available, LinuxED is discontinued.") + """urllib.request.urlretrieve('https://github.com/Cr3atable/LinuxED/archive/master.zip', '%s/LinuxEDUpdate.zip' % tempdir) with zipfile.ZipFile("%s/LinuxEDUpdate.zip" % tempdir,"r") as zip_ref: zip_ref.extractall(tempdir) os.remove("%s/LinuxED-master/LICENSE" % tempdir) @@ -170,7 +171,7 @@ def select_client(allow_custom=False): os.system("chmod +x %s" % os.path.join(filepath, scriptname)) except: print("Couldn't make script executable...\nYou may experience problems when trying to use it again") - print("Update complete!\nPlease restart LinuxED for the update to take effect.") + print("Update complete!\nPlease restart LinuxED for the update to take effect.")""" elif option == 'Uninstall ED': @@ -185,7 +186,8 @@ def select_client(allow_custom=False): print("Error: Couldn't find index.js backup, did you use the installer to install ED?\n") elif option == 'Install ED': - if not os.path.exists(enhanceddir): + print("Install option for EnhancedDiscord is disabled, as it's at end of life.") + """if not os.path.exists(enhanceddir): print("Downloading ED...") urllib.request.urlretrieve('https://github.com/joe27g/EnhancedDiscord/archive/master.zip', '%s/EnhancedDiscord.zip' % tempdir) with zipfile.ZipFile("%s/EnhancedDiscord.zip" % tempdir,"r") as zip_ref: @@ -209,10 +211,11 @@ def select_client(allow_custom=False): print("Creating config.json...") with open(cfgpath,"w") as cfg: cfg.write("{}") - print("EnhancedDiscord installation complete!\n") + print("EnhancedDiscord installation complete!\n")""" elif option == 'Update ED': - if os.path.exists(enhanceddir): + print("No updates are available, EnhancedDiscord is at end of life.") + """if os.path.exists(enhanceddir): print("Updating ED...") urllib.request.urlretrieve('https://github.com/joe27g/EnhancedDiscord/archive/master.zip', '%s/EDUpdate.zip' % tempdir) with zipfile.ZipFile("%s/EDUpdate.zip" % tempdir,"r") as zip_ref: @@ -222,7 +225,7 @@ def select_client(allow_custom=False): os.remove("%s/EDUpdate.zip" % tempdir) print("Update complete!") else: - print("It seems EnhancedDiscord is not installed in the current directory so it was unable to be updated.") + print("It seems EnhancedDiscord is not installed in the current directory so it was unable to be updated.")""" elif option == 'Select Client': print("Selecting new Discord client...") backup = (client, jspath, version) From 19a4f802ee0f6a2385ab2b6f99f84260d9e2f56c Mon Sep 17 00:00:00 2001 From: MasicoreLord Date: Sun, 11 Apr 2021 23:35:18 -0400 Subject: [PATCH 2/5] Add ED EOL and LinuxED discontinuation notice --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 97b9ec2..ec2620d 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # LinuxED LinuxED is an alternative installer for EnhancedDiscord that works on Linux. This project is not affiliated with Discord, or EnhancedDiscord in any way. I made this while learning Python and I'm aware of how messy, inconsistent, and poorly coded this script looks. + +# LinuxED has been discontinued +EnhancedDiscord has reached End of Life, thus all remaining official support has been dropped. So LinuxED should be shut down as well. + # Operating systems supported LinuxED supports most major distributions of Linux, MacOS, and even Windows. It also supports all versions of Discord (PTB, Stable, Canary, etc.) From 222199255e2e7768508497463ac6ccf8ae1dadd8 Mon Sep 17 00:00:00 2001 From: MasicoreLord Date: Sun, 11 Apr 2021 23:38:19 -0400 Subject: [PATCH 3/5] Tweaked read me to redact the no longer relevant info --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ec2620d..766716b 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ If you wish to use this on MacOS you'll first need to download Python 3 via [Bre After installing Brew, enter `brew install python3` in a terminal, then follow the installation guide below. # Features - Custom index.js location -- EnhancedDiscord updater (this does update ED) -- LinuxED updater (this does not update ED, it updates the LinuxED script) -- Automates all EnhancedDiscord installation on Linux, MacOS, and Windows. +- ~~EnhancedDiscord updater (this does update ED)~~ +- ~~LinuxED updater (this does not update ED, it updates the LinuxED script)~~ +- ~~Automates all EnhancedDiscord installation on Linux, MacOS, and Windows.~~ # Requirements You will need Python's distutils, which most commonly has the package name `python3-distutils` To install Python's distutils on Debian or any Debian derivatives (Ubuntu, Linux Mint) do `sudo apt install python3-distutils` @@ -25,4 +25,4 @@ To install Python's distutils on Debian or any Debian derivatives (Ubuntu, Linux 2. cd into the newly cloned repo: `cd LinuxED` 3. Execute the Python script: `python3 LinuxED.py` and follow the instructions. 4. Restart Discord entirely. -That's it! EnhancedDiscord is now installed. +~~That's it! EnhancedDiscord is now installed.~~ From 6bdffa766c1d752a01207b9153002f501174d64e Mon Sep 17 00:00:00 2001 From: MasicoreLord Date: Wed, 14 Apr 2021 01:12:10 -0400 Subject: [PATCH 4/5] Simplified and moved discontinue notice to very top --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 766716b..9909139 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ +# Discontinuation +EnhancedDiscord has reached End of Life, thus all remaining official support has been dropped. So LinuxED should has been discontinued as well. + # LinuxED LinuxED is an alternative installer for EnhancedDiscord that works on Linux. This project is not affiliated with Discord, or EnhancedDiscord in any way. I made this while learning Python and I'm aware of how messy, inconsistent, and poorly coded this script looks. -# LinuxED has been discontinued -EnhancedDiscord has reached End of Life, thus all remaining official support has been dropped. So LinuxED should be shut down as well. - # Operating systems supported LinuxED supports most major distributions of Linux, MacOS, and even Windows. It also supports all versions of Discord (PTB, Stable, Canary, etc.) From cb35c842dc2b2ad2ca66e4113bd286e62b871e68 Mon Sep 17 00:00:00 2001 From: MasicoreLord Date: Wed, 14 Apr 2021 01:12:41 -0400 Subject: [PATCH 5/5] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9909139..b8c5947 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Discontinuation -EnhancedDiscord has reached End of Life, thus all remaining official support has been dropped. So LinuxED should has been discontinued as well. +EnhancedDiscord has reached End of Life, thus all remaining official support has been dropped. So LinuxED has been discontinued as well. # LinuxED LinuxED is an alternative installer for EnhancedDiscord that works on Linux. This project is not affiliated with Discord, or EnhancedDiscord in any way. I made this while learning Python and I'm aware of how messy, inconsistent, and poorly coded this script looks.