-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #341 from yermak/macos
MacOS build and config
- Loading branch information
Showing
37 changed files
with
347 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ffmpeg=external/x64/windows/ffmpeg.exe | ||
ffprobe=external/x64/windows/ffprobe.exe | ||
mp4art=external/x64/windows/mp4art.exe | ||
mp4info=external/x64/windows/mp4info.exe | ||
ffmpeg=external/x64/mac/ffmpeg | ||
ffprobe=external/x64/mac/ffprobe | ||
mp4art=external/x64/mac/mp4art | ||
mp4info=external/x64/mac/mp4info | ||
platform=steam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
VM Options=--module-path "C:\Users\Yermak\Programs\JavaFX\javafx-sdk-15.0.1\lib" --add-modules javafx.controls,javafx.fxml,javafx.media,javafx.base,javafx.swing,javafx.graphics | ||
Enviromnent var=FFMPEG=external/x64/windows | ||
|
||
|
||
https://www.reddit.com/r/gamedev/comments/di61ms/have_a_mac_game_on_steam_heres_a_guide_to_signing/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
JAVA_HOME=/Users/Yarick_Yermak/Library/Java/JavaVirtualMachines/temurin-17/Contents/Home | ||
JAVA_HOME=$1 | ||
JAVAFX_JMODS=jmods/mac | ||
#APP_VERSION=5.6.3 | ||
|
||
rm -rf target/release | ||
mkdir target/release | ||
|
||
rm -rf target/fx-jre | ||
$JAVA_HOME/bin/jlink --module-path $JAVA_HOME/jmods:$JAVAFX_JMODS \ | ||
--add-modules java.base,java.sql,javafx.controls,javafx.fxml,javafx.media,javafx.base,javafx.swing,javafx.graphics --output target/fx-jre | ||
|
||
rm -rf target/image | ||
$JAVA_HOME/bin/jpackage --app-version $APP_VERSION --icon AudioBookConverter.icns \ | ||
--type app-image \ | ||
--input target/package/audiobookconverter-$APP_VERSION-mac-installer/audiobookconverter-$APP_VERSION/app \ | ||
--main-jar lib/audiobookconverter-$APP_VERSION.jar \ | ||
--runtime-image target/fx-jre \ | ||
--java-options "--add-exports java.desktop/com.apple.eio=ALL-UNNAMED" \ | ||
--dest target/release \ | ||
--vendor "Recoupler Limited" \ | ||
--app-version $APP_VERSION \ | ||
--mac-package-identifier com.recoupler.audiobookconverter \ | ||
--mac-package-name AudiobookConverter \ | ||
--mac-signing-key-user-name "Developer ID Application: Recoupler Limited" \ | ||
--mac-sign | ||
|
||
|
||
#$JAVA_HOME/bin/jpackage --app-version $(APP_VERSION) --icon AudioBookConverter.icns \ | ||
#--type dmg \ | ||
#--input target/package/audiobookconverter-$(APP_VERSION)-mac-installer/audiobookconverter-$(APP_VERSION)/app \ | ||
#--main-jar lib/audiobookconverter-$(APP_VERSION).jar --runtime-image target/fx-jre --java-options '--enable-preview' | ||
#mkdir target/release | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
ffmpeg=Contents/app/external/ffmpeg | ||
ffprobe=Contents/app/external/ffprobe | ||
mp4art=Contents/app/external/mp4art | ||
mp4info=Contents/app/external/mp4info | ||
platform=steam |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.