Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Commit

Permalink
v3.1.3 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatOneCalculator committed Jul 11, 2021
1 parent e38df5a commit 4ab19c7
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Among-Us-Dumpy-Gif-Maker
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Based off of: https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html

_pkgname="among-us-dumpy-gif-maker"
_pkgver="3.1.2"
_pkgver="3.1.3"
_jar="Among-Us-Dumpy-Gif-Maker-${_pkgver}-all.jar"

pkgname="${_pkgname}"
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Based off of: https://daveparrish.net/posts/2019-11-16-Better-AppImage-PKGBUILD-template.html

_pkgname="among-us-dumpy-gif-maker"
_pkgver="3.1.2"
_pkgver="3.1.3"
_jar="Among-Us-Dumpy-Gif-Maker-${_pkgver}-all.jar"

pkgname="${_pkgname}"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@


### Please credit this repository when you use this program!
##### Current version: 3.1.2
##### Current version: 3.1.3

# Instructions

Expand All @@ -50,13 +50,13 @@

To everyone else:

### Make sure to [download the jar](https://github.com/ThatOneCalculator/Among-Us-Dumpy-Gif-Maker/releases/download/v3.1.2/Among-Us-Dumpy-Gif-Maker-3.1.2-all.jar)!
### Make sure to [download the jar](https://github.com/ThatOneCalculator/Among-Us-Dumpy-Gif-Maker/releases/download/v3.1.3/Among-Us-Dumpy-Gif-Maker-3.1.3-all.jar)!

### Basic usage:
Click and open the jar, select the file, and a file called "dumpy.gif" will be made in the same folder as the jar.

### CLI usage:
- `java -jar Among-Us-Dumpy-Gif-Maker-3.1.2-all.jar <flags>`
- `java -jar Among-Us-Dumpy-Gif-Maker-3.1.3-all.jar <flags>`
All flags are optional.
Flags:
```
Expand All @@ -75,5 +75,5 @@ git clone https://github.com/ThatOneCalculator/Among-Us-Dumpy-Gif-Maker
cd Among-Us-Dumpy-Gif-Maker
gradle wrapper
./gradlew shadowJar # .\gradelw.bat shadowJar if you're on Windows
java -jar ./build/libs/Among-Us-Dumpy-Gif-Maker-3.1.2-all.jar
java -jar ./build/libs/Among-Us-Dumpy-Gif-Maker-3.1.3-all.jar
```
2 changes: 1 addition & 1 deletion among-us-dumpy-gif-maker
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh

/usr/bin/java -jar /usr/lib/Among-Us-Dumpy-Gif-Maker-3.1.2-all.jar $@
/usr/bin/java -jar /usr/lib/Among-Us-Dumpy-Gif-Maker-3.1.3-all.jar $@
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
statcordkey = lines[0].strip()

upsince = datetime.datetime.now()
version = "3.1.2"
version = "3.1.3"

intents = discord.Intents.default()
bot = commands.AutoShardedBot(command_prefix=commands.when_mentioned_or("!!"), intents=intents, chunk_guilds_at_startup=False)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "dev.t1c.amogus"
version = "3.1.2"
version = "3.1.3"

repositories {
mavenCentral()
Expand Down
9 changes: 6 additions & 3 deletions src/main/java/dev/t1c/dumpy/sus.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ public static void main(String[] args) throws Exception {

Options options = new Options();

Option li = Option.builder().longOpt("lines").hasArg().desc("Changes the number of lines (defaults to 10)").build();
Option li = Option.builder().longOpt("lines").hasArg().desc("Changes the number of lines (defaults to 10)")
.build();
Option fl = Option.builder().longOpt("file").hasArg().desc("Path to file, hides file picker").build();
Option bk = Option.builder().longOpt("background").hasArg().desc("Path to custom background").build();
Option md = Option.builder().longOpt("mode").hasArg().desc("Crewmade mode, currently supports default and furry").build();
Option md = Option.builder().longOpt("mode").hasArg()
.desc("Crewmade mode, currently supports default and furry").build();
Option eo = Option.builder().longOpt("extraoutput").hasArg().desc("Appends text to output files").build();
Option hp = Option.builder().longOpt("help").desc("Shows this message").build();
options.addOption(li);
Expand Down Expand Up @@ -228,7 +230,8 @@ public static void main(String[] args) throws Exception {

// Combines frames into final GIF
System.out.println("Converting....");
runCmd("convert -dispose 2 -delay 1x20 -loop 0 -alpha set" + dotSlash + "F_*" + extraoutput + ".png " + output);
runCmd("convert -delay 1x20 -loop 0 -alpha set -dispose 2 " + dotSlash + "F_*" + extraoutput + ".png "
+ output);
boolean win = isWindows();

String[] filenames = new String[] { dotSlash + "F_0" + extraoutput + ".png",
Expand Down

0 comments on commit 4ab19c7

Please sign in to comment.