Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/syd711/vpin-studio
Browse files Browse the repository at this point in the history
  • Loading branch information
syd711 committed Dec 6, 2024
2 parents c114c8b + 1afc698 commit c8e5133
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ Fonts: https://www.1001fonts.com/digital-7-font.html#license
### 7zip
https://7-zip.org/

### ffmpeg
https://ffmpeg.org/ffmpeg.html

### nircmd
https://www.nirsoft.net/utils/nircmd.html

### Sounds
Sound Effect by <a href="https://pixabay.com/users/edr-1177074/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=music&amp;utm_content=8325">EdR</a> from <a href="https://pixabay.com//?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=music&amp;utm_content=8325">Pixabay</a>

Expand Down
10 changes: 8 additions & 2 deletions vpin-studio-ui/src/main/java/de/mephisto/vpin/ui/Studio.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StreamUtils;

import java.awt.*;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.URI;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.Locale;
import java.util.Optional;
Expand Down Expand Up @@ -81,10 +83,14 @@ public static void main(String[] args) {

@Override
public void start(Stage stage) throws IOException {
LOG.info("-------------- Studio Starts -------------");
try (InputStream banner = getClass().getResourceAsStream("/banner.txt")) {
String txt = StreamUtils.copyToString(banner, StandardCharsets.UTF_8);
LOG.info("\n" + txt + "\n");
}

LOG.info("Studio Starting...");
LOG.info("Locale: " + Locale.getDefault().getDisplayName());
LOG.info("OS: " + System.getProperty("os.name"));
LOG.info("------------------------------------------");
try {
ss = new ServerSocket(1044);
}
Expand Down
7 changes: 7 additions & 0 deletions vpin-studio-ui/src/main/resources/banner.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_ __ ___
_ ______ (_)___ _____/ /___ ______/ (_)___
| | / / __ \/ / __ \______/ ___/ __/ / / / __ / / __ \
| |/ / /_/ / / / / /_____(__ ) /_/ /_/ / /_/ / / /_/ /
|___/ .___/_/_/ /_/ /____/\__/\__,_/\__,_/_/\____/
/_/
vpin-studio-ui @project.version@

0 comments on commit c8e5133

Please sign in to comment.