mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-12 07:29:03 +00:00
Fixed #1994 Replace command in commandline with three argument causing replacements file load
This commit is contained in:
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
|
||||
## [Unreleased]
|
||||
### Fixed
|
||||
- [#1993] Incorrect scroll position causing shapes to be hidden
|
||||
- [#1994] Replace command in commandline with three argument causing replacements file load
|
||||
|
||||
## [18.4.0] - 2023-03-19
|
||||
### Added
|
||||
@@ -3014,6 +3015,7 @@ All notable changes to this project will be documented in this file.
|
||||
[alpha 8]: https://github.com/jindrapetrik/jpexs-decompiler/compare/alpha7...alpha8
|
||||
[alpha 7]: https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/alpha7
|
||||
[#1993]: https://www.free-decompiler.com/flash/issues/1993
|
||||
[#1994]: https://www.free-decompiler.com/flash/issues/1994
|
||||
[#1888]: https://www.free-decompiler.com/flash/issues/1888
|
||||
[#1892]: https://www.free-decompiler.com/flash/issues/1892
|
||||
[#355]: https://www.free-decompiler.com/flash/issues/355
|
||||
|
||||
@@ -3143,7 +3143,7 @@ public class CommandLineArgumentParser {
|
||||
File inFile = new File(args.pop());
|
||||
File outFile = new File(args.pop());
|
||||
|
||||
if (args.size() == 3) {
|
||||
if (args.size() == 1) {
|
||||
System.out.println("Replacing - only single argument passed, taking it as file to load replacements from");
|
||||
try {
|
||||
List<String> lines = Files.readAllLines(Paths.get(args.pop()), StandardCharsets.UTF_8);
|
||||
|
||||
Reference in New Issue
Block a user