dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5afb2fe8cee94035f9ba7d12c1ba63982a45e7bd
parent 72429d542010ecabbb4720433e46943e1e2c93ed
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Fri, 16 Apr 2021 11:07:10 +0200

rotmgmule: remove, no longer works

Diffstat:
Dscripts/rotmgmule | 21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/scripts/rotmgmule b/scripts/rotmgmule @@ -1,21 +0,0 @@ -#!/usr/bin/env perl -use strict; -use warnings; -use Term::Choose "choose"; -use MIME::Base64; - -my $exaltpath = "$ENV{HOME}/RealmOfTheMadGod/Production/RotMGExalt.app"; -my $accountfile = "$ENV{HOME}/.local/share/rotmgmule/accounts.tsv"; - -open(accfile_h, "<", $accountfile) or die "Couldn't open the file $accountfile, $!"; - -my %accounts; -while(my $line = <accfile_h>) { - chomp $line; - my ($k, $v) = split("\t", $line); - $accounts{$k} = $v; -} -close(accfile_h); - -my $choice = choose([keys %accounts], { layout => 3 }); -system("open", "-n", $exaltpath, "--args", "'data:{platform:Deca,password:@{[encode_base64($accounts{$choice}, '')]},guid:@{[encode_base64($choice,'')]},env:4}'");