Skip to content

Commit

Permalink
Merge pull request #150 from einaskoi/per/msi
Browse files Browse the repository at this point in the history
adds msi installer in dist
  • Loading branch information
einaskoi authored May 27, 2026
2 parents 6c84687 + 7f4afa2 commit 39e85f9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
Binary file removed Millions-1.1.0-installer.exe
Binary file not shown.
Binary file removed Millions.exe
Binary file not shown.
18 changes: 15 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>module-info.class</exclude>
<exclude>META-INF/versions/*/module-info.class</exclude>
</excludes>
</filter>
</filters>
Expand All @@ -111,17 +113,27 @@
<version>1.6.0</version>
<configuration>
<name>Millions</name>
<appVersion>1.0.0</appVersion>
<appVersion>1.2.0</appVersion>
<vendor>edu.ntnu.idi.idatt2003.gruppe42</vendor>
<input>target</input>
<destination>target/dist</destination>
<mainJar>Millions-1.0-SNAPSHOT.jar</mainJar>
<mainClass>edu.ntnu.idi.idatt2003.gruppe42.Launcher</mainClass>
<type>DMG</type>
<icon>src/main/resources/images/app_icon.icns</icon>
<type>EXE</type>
<icon>src/main/resources/images/app_icon.ico</icon>
<javaOptions>
<option>-Dfile.encoding=UTF-8</option>
<option>--enable-native-access=ALL-UNNAMED</option>
<option>--add-opens=javafx.graphics/com.sun.javafx.application=ALL-UNNAMED</option>
<option>--add-opens=java.base/java.lang=ALL-UNNAMED</option>
</javaOptions>
<!-- Windows installer options -->
<winDirChooser>true</winDirChooser>
<winShortcut>true</winShortcut>
<winMenu>true</winMenu>
<winShortcutPrompt>true</winShortcutPrompt>
<winMenuGroup>Millions</winMenuGroup>
<winPerUserInstall>true</winPerUserInstall>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void setGameState(final GameState gameState) {
public void startGame() {
timer = new Timer(true);
final int delay = 0;
final int period = 10;
final int period = 1000;

timer.scheduleAtFixedRate(new TimerTask() {
@Override
Expand Down

0 comments on commit 39e85f9

Please sign in to comment.