From eb875363e10f74e2f685223249c1b268e86201ea Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Sat, 19 Oct 2024 10:55:30 -0500 Subject: [PATCH] added feature to allow user to name their backup --- install-discord-linux.rb | 82 +++++++++++++++++++++++++--------------- 1 file changed, 51 insertions(+), 31 deletions(-) diff --git a/install-discord-linux.rb b/install-discord-linux.rb index 772945d..d015def 100755 --- a/install-discord-linux.rb +++ b/install-discord-linux.rb @@ -11,6 +11,7 @@ require 'rubygems/package' require 'fileutils' require 'optparse' require 'zlib' +require 'find' # END: Includes & Requires @@ -59,6 +60,7 @@ $CONFIG[:desktop_file_path] = $CONFIG[:discord_path] / 'discord.desktop' $CONFIG[:discord_version_file] = $CONFIG[:discord_path] / 'resources' / 'build_info.json' $CONFIG[:action] = 'install' $CONFIG[:keep_installer] = false +$CONFIG[:debug] = false DISCORD_DESKTOP_CONTENTS=<