Files
TikTokLiveJava/tools-readme/src/main/java/io/github/jwdeveloper/tiktok/Main.java
jacek.wolniewicz cfea12dacc Remove descrabble
2024-07-03 22:37:40 +02:00

27 lines
645 B
Java

package io.github.jwdeveloper.tiktok;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.io.IOException;
public class Main
{
public static void main(String[] args) throws IOException {
var version = System.getenv("VERSION");
if (version == null || version.equals("")) {
version = "[Replace with current version]";
}
var inputStream = Main.class.getResourceAsStream("/readme-template.html");
var targetFile = new File("temp.file");
FileUtils.copyInputStreamToFile(inputStream, targetFile);
var output = System.getProperty("user.dir");
}
}