Steam macos (#31)
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
STEAM_USR=rustunit
|
STEAM_USR=rustunit
|
||||||
STEAM_PWD={{ op://Employee/Steam/password }}
|
STEAM_PWD={{ op://Employee/Steam/password }}
|
||||||
|
|||||||
@@ -17,3 +17,6 @@ login:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hedz.vdf +quit
|
./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hedz.vdf +quit
|
||||||
|
|
||||||
|
steam_build_macos:
|
||||||
|
./builder_osx/steamcmd +login $STEAM_USR +run_app_build ../scripts/hz_macos.vdf +quit
|
||||||
|
|||||||
24
build/steamos/scripts/hz_macos.vdf
Normal file
24
build/steamos/scripts/hz_macos.vdf
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
"AppBuild"
|
||||||
|
{
|
||||||
|
"AppID" "1603000" // your AppID
|
||||||
|
"Desc" "macos build"
|
||||||
|
"verbose" "1" // spew more build details in console
|
||||||
|
|
||||||
|
"SetLive" "alpha"
|
||||||
|
"ContentRoot" "../../macos" // root content folder, relative to location of this file
|
||||||
|
"BuildOutput" "../output" // build output folder for build logs and build cache files
|
||||||
|
|
||||||
|
"Depots"
|
||||||
|
{
|
||||||
|
"1603002" // macos
|
||||||
|
{
|
||||||
|
"FileExclusion" "*/.DS_Store"
|
||||||
|
"FileMapping"
|
||||||
|
{
|
||||||
|
"LocalPath" "src/HEDZReloaded.app/*"
|
||||||
|
"DepotPath" "./HEDZReloaded.app/"
|
||||||
|
"recursive" "1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
2
justfile
2
justfile
@@ -25,6 +25,8 @@ build-app: build-lipo
|
|||||||
cp -r assets/ build/macos/src/HEDZReloaded.app/Contents/MacOS/assets
|
cp -r assets/ build/macos/src/HEDZReloaded.app/Contents/MacOS/assets
|
||||||
cp target/release/hedz_reloaded build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
cp target/release/hedz_reloaded build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
||||||
cp build/macos/libsteam_api.dylib build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
cp build/macos/libsteam_api.dylib build/macos/src/HEDZReloaded.app/Contents/MacOS/
|
||||||
|
|
||||||
|
build-dmg: build-app
|
||||||
rm build/macos/src/Applications | true
|
rm build/macos/src/Applications | true
|
||||||
ln -s /Applications build/macos/src/
|
ln -s /Applications build/macos/src/
|
||||||
hdiutil create -fs HFS+ -volname "HEDZReloaded" -srcfolder build/macos/src HEDZReloaded.dmg
|
hdiutil create -fs HFS+ -volname "HEDZReloaded" -srcfolder build/macos/src HEDZReloaded.dmg
|
||||||
|
|||||||
Reference in New Issue
Block a user